diff --git a/create_db.sql b/create_db.sql index 2bede62..dca426c 100644 --- a/create_db.sql +++ b/create_db.sql @@ -24,9 +24,9 @@ CREATE TABLE articles ( id INT AUTO_INCREMENT, title VARCHAR(255) NOT NULL, created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, - banner_link VARCHAR(255), + banner_link VARCHAR(255) NOT NULL, summary TEXT NOT NULL, - content_link VARCHAR(255), + content_link VARCHAR(255) NOT NULL, published BOOL NOT NULL, rejected BOOL NOT NULL, author_id INT NOT NULL,