Use PRIMARY KEY instead of NOT NULL also in gravity and info tables

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-05-01 18:03:35 +02:00
parent 106f079afc
commit 2f698904e4
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
1 changed files with 2 additions and 2 deletions

View File

@ -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
);