1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-17 21:59:55 +00:00

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

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