From 2df5564dd52fb7ad5f2cbcd873a2d01fbf859616 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 10 Feb 2019 14:54:02 +0000 Subject: Implemented auto increment to articles table --- Database/SQL/articles.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/SQL/articles.sql b/Database/SQL/articles.sql index bfa004c..92b1518 100644 --- a/Database/SQL/articles.sql +++ b/Database/SQL/articles.sql @@ -1,5 +1,5 @@ CREATE TABLE articles ( - article_id INT NOT NULL, + article_id INT NOT NULL AUTO_INCREMENT, title VARCHAR(255) UNIQUE, description VARCHAR(255), image_link VARCHAR(128), -- cgit v1.2.3-13-gbd6f