From 2f698904e406fc978cb00bf4759aebbc22b14479 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 1 May 2019 18:03:35 +0200 Subject: [PATCH] Use PRIMARY KEY instead of NOT NULL also in gravity and info tables Signed-off-by: DL6ER --- advanced/Templates/gravity.db.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Templates/gravity.db.sql b/advanced/Templates/gravity.db.sql index a8d48608..fd6d2b28 100644 --- a/advanced/Templates/gravity.db.sql +++ b/advanced/Templates/gravity.db.sql @@ -36,11 +36,11 @@ CREATE TABLE adlists ); CREATE TABLE gravity ( - domain TEXT UNIQUE NOT NULL + domain TEXT UNIQUE PRIMARY KEY ); CREATE TABLE info ( - property TEXT NOT NULL, + property TEXT PRIMARY KEY, value TEXT NOT NULL );