mirror of
https://github.com/kristoferssolo/Mafia-the-Game-Description.git
synced 2025-10-21 19:50:35 +00:00
feat(GameEvent sql): add check clause
This commit is contained in:
parent
2e0ce7df90
commit
19da7af777
@ -122,7 +122,7 @@ CREATE TABLE
|
||||
"SpelesNotikums" (
|
||||
"id" SERIAL8 PRIMARY KEY NOT NULL,
|
||||
"nosaukums" VARCHAR(255) UNIQUE NOT NULL,
|
||||
"nakts_pk" INT2 DEFAULT 0 NOT NULL,
|
||||
"nakts_pk" INT2 DEFAULT 0 NOT NULL CHECK ("nakts_pk" >= 0),
|
||||
"veids" VARCHAR(255),
|
||||
"ir_redzams" BOOL DEFAULT FALSE NOT NULL,
|
||||
"izveidosanas_laiks" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user