From 4f7302cb643a6182755249f022f9b3b2b9c72099 Mon Sep 17 00:00:00 2001 From: Samuel Tariku Date: Mon, 14 Apr 2025 20:20:31 +0300 Subject: [PATCH] - --- db/migrations/000001_fortune.up.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/migrations/000001_fortune.up.sql b/db/migrations/000001_fortune.up.sql index ef85495..4fb809e 100644 --- a/db/migrations/000001_fortune.up.sql +++ b/db/migrations/000001_fortune.up.sql @@ -56,8 +56,7 @@ CREATE TABLE IF NOT EXISTS bets ( CHECK ( user_id IS NOT NULL OR branch_id IS NOT NULL - ), - UNIQUE(cashier_id) + ) ); CREATE TABLE IF NOT EXISTS tickets ( id BIGSERIAL PRIMARY KEY,