aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-10 14:39:22 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-10 14:39:22 +0000
commitf606a8fb5cfb80541891bfb5dacc3f8716b37291 (patch)
tree38f880b832d4408523068b6322e73424ba859398
parentc4a9bfc10328c2e8eed7cb3cd50c218850772810 (diff)
downloadnewsaggregator-f606a8fb5cfb80541891bfb5dacc3f8716b37291.tar.gz
newsaggregator-f606a8fb5cfb80541891bfb5dacc3f8716b37291.tar.bz2
newsaggregator-f606a8fb5cfb80541891bfb5dacc3f8716b37291.zip
Changed title to be unique - only unique articles
-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 4ad3034..bfa004c 100644
--- a/Database/SQL/articles.sql
+++ b/Database/SQL/articles.sql
@@ -1,6 +1,6 @@
CREATE TABLE articles (
article_id INT NOT NULL,
- title VARCHAR(255),
+ title VARCHAR(255) UNIQUE,
description VARCHAR(255),
image_link VARCHAR(128),
article_link VARCHAR(64),