diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 14:54:02 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 14:54:02 +0000 |
commit | 2df5564dd52fb7ad5f2cbcd873a2d01fbf859616 (patch) | |
tree | ddcfe3d80c4f4952c24a6e5f77bcf71a60ea4101 /Database/SQL/articles.sql | |
parent | 265b4e4377302b199d7f5815e6cb52fb268c5bd6 (diff) | |
download | newsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.tar.gz newsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.tar.bz2 newsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.zip |
Implemented auto increment to articles table
Diffstat (limited to 'Database/SQL/articles.sql')
-rw-r--r-- | Database/SQL/articles.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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), |