Drop default Null for renew_time in sql
This commit is contained in:
parent
6a033ea948
commit
44742bc5f8
5 changed files with 17 additions and 13 deletions
|
|
@ -120,7 +120,7 @@ CREATE TABLE sessions (
|
|||
update_time TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
exclusive BOOLEAN CHECK (exclusive),
|
||||
closed BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
renew_time TIMESTAMPTZ DEFAULT NULL,
|
||||
renew_time TIMESTAMPTZ,
|
||||
CONSTRAINT no_exclusive_subsessions CHECK (
|
||||
master IS NULL OR "exclusive" IS NULL),
|
||||
CONSTRAINT no_closed_exclusive CHECK (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue