Fix database check

This commit is contained in:
Jeff Mitchell committed 2020-09-20 16:09:11 -04:00
1 parent 697ea561e0
commit 7db0e2a5ed
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3405,7 +3405,7 @@ begin;
expiration_time wt_timestamp, -- maybe null
-- limit on number of session connections allowed. default of 0 equals no limit
connection_limit int not null default 1
check(connection_limit >= 0),
check(connection_limit > 0 or connection_limit = -1),
-- trust of first use token
tofu_token bytea, -- will be null when session is first created
-- the reason this session ended (null until terminated)
@@ -133,7 +133,7 @@ begin;
expiration_time wt_timestamp, -- maybe null
-- limit on number of session connections allowed. default of 0 equals no limit
connection_limit int not null default 1
check(connection_limit >= 0),
check(connection_limit > 0 or connection_limit = -1),
-- trust of first use token
tofu_token bytea, -- will be null when session is first created
-- the reason this session ended (null until terminated)