aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-10 14:54:02 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-10 14:54:02 +0000
commit2df5564dd52fb7ad5f2cbcd873a2d01fbf859616 (patch)
treeddcfe3d80c4f4952c24a6e5f77bcf71a60ea4101
parent265b4e4377302b199d7f5815e6cb52fb268c5bd6 (diff)
downloadnewsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.tar.gz
newsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.tar.bz2
newsaggregator-2df5564dd52fb7ad5f2cbcd873a2d01fbf859616.zip
Implemented auto increment to articles table
-rw-r--r--Database/SQL/articles.sql2
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),