This commit is contained in:
Samuel Tariku 2025-04-14 20:20:31 +03:00
parent 44b2385565
commit 4f7302cb64

View File

@ -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,