Skip to content

Commit

Permalink
Add the draft field to the test database
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansbv committed Apr 14, 2021
1 parent 2e3758d commit e372c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/cm/sql/classicmodels-si.sql
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ CREATE TABLE reports (
, id_user INTEGER
, repofile VARCHAR(150)
, title VARCHAR(50)
, draft SMALLINT DEFAULT 0 NOT NULL CHECK (draft IN (0,1))
, descr VARCHAR(250)
, CONSTRAINT pk_reports_id_rep PRIMARY KEY (id_rep)
);
Expand Down

0 comments on commit e372c30

Please sign in to comment.