Boolean fields changed to int.

This commit is contained in:
Boris Gulay
2016-05-11 12:05:42 +03:00
parent 440616d6ff
commit b0149a99c2
2 changed files with 10 additions and 9 deletions

View File

@@ -24,18 +24,15 @@ CREATE TABLE ident_switch
integer
NOT NULL
CHECK(port > 0 AND port <= 65535),
secure
boolean
NOT NULL,
delimiter
char(1),
enabled
boolean
NOT NULL
DEFAULT false,
label
varchar(32)
NOT NULL,
flags
integer
NOT NULL
DEFAULT(0),
UNIQUE (user_id, label)
);