From d46ff1d2d79dbd2cb6f2ee2f919e793a6371757b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 1 May 2019 22:08:30 +0200 Subject: [PATCH] Remove UNIQUE on gravity table as the only column is already PRIMARY KEY. Primary keys must contain UNIQUE values, and cannot contain NULL values Signed-off-by: DL6ER --- advanced/Templates/gravity.db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Templates/gravity.db.sql b/advanced/Templates/gravity.db.sql index fd6d2b28..372a4a29 100644 --- a/advanced/Templates/gravity.db.sql +++ b/advanced/Templates/gravity.db.sql @@ -36,7 +36,7 @@ CREATE TABLE adlists ); CREATE TABLE gravity ( - domain TEXT UNIQUE PRIMARY KEY + domain TEXT PRIMARY KEY ); CREATE TABLE info (