Skip to content

Commit

Permalink
sqlite comptaible check
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Nov 4, 2024
1 parent 77a8804 commit 17db046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async def m001_add_satspot(db):
id TEXT PRIMARY KEY,
name TEXT NOT NULL,
wallet TEXT NOT NULL,
haircut INTEGER NOT NULL MAXVALUE 50 DEFAULT 5,
haircut INTEGER NOT NULL DEFAULT 5 CHECK(haircut <= 50),
closing_date TIMESTAMP NOT NULL,
buy_in INTEGER NOT NULL,
players TEXT NOT NULL,
Expand Down

0 comments on commit 17db046

Please sign in to comment.