From 8a458ba1f37d59983d4fedd2d4dd966bb08105b4 Mon Sep 17 00:00:00 2001
From: Aryadev Chavali <aryadevchavali1@gmail.com>
Date: Mon, 4 Feb 2019 07:51:34 +0000
Subject: Changed SQL to use PrimaryKey()

---
 Database/SQL/config.sql | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'Database/SQL/config.sql')

diff --git a/Database/SQL/config.sql b/Database/SQL/config.sql
index 579c633..4a8296f 100644
--- a/Database/SQL/config.sql
+++ b/Database/SQL/config.sql
@@ -1,9 +1,11 @@
 CREATE TABLE config (
-    id NOT NULL PRIMARY KEY AUTO_INCREMENT,
+    config_id INT NOT NULL,
     title INT,
     description INT,
     image_link INT,
     article_link INT,
     source INT,
-    publish_date INT
+    publish_date INT,
+
+    PRIMARY KEY(config_id)
 )
\ No newline at end of file
-- 
cgit v1.2.3-13-gbd6f

