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:
parent
106f079afc
commit
2f698904e4
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user