Change project status type to int
This commit is contained in:
parent
562a025ac4
commit
ad3f5f5e43
|
@ -34,7 +34,7 @@ def upgrade() -> None:
|
||||||
description varchar(1000),
|
description varchar(1000),
|
||||||
creator bigint REFERENCES users,
|
creator bigint REFERENCES users,
|
||||||
contributors smallint DEFAULT 1,
|
contributors smallint DEFAULT 1,
|
||||||
status bit(1) DEFAULT B'1',
|
status int DEFAULT 1,
|
||||||
tag varchar(50) UNIQUE,
|
tag varchar(50) UNIQUE,
|
||||||
category varchar(50) UNIQUE,
|
category varchar(50) UNIQUE,
|
||||||
creation_date date DEFAULT CURRENT_DATE
|
creation_date date DEFAULT CURRENT_DATE
|
||||||
|
|
Reference in a new issue