mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue