mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Improve indentation (single tab) in SQLite template
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
6c1e3a17f7
commit
106f079afc
@ -1,29 +1,48 @@
|
|||||||
CREATE TABLE whitelist (id INTEGER PRIMARY KEY AUTOINCREMENT,
|
CREATE TABLE whitelist
|
||||||
domain TEXT UNIQUE NOT NULL,
|
(
|
||||||
enabled BOOLEAN NOT NULL DEFAULT 1,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
domain TEXT UNIQUE NOT NULL,
|
||||||
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
enabled BOOLEAN NOT NULL DEFAULT 1,
|
||||||
comment TEXT);
|
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
CREATE TABLE blacklist (id INTEGER PRIMARY KEY AUTOINCREMENT,
|
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
domain TEXT UNIQUE NOT NULL,
|
comment TEXT
|
||||||
enabled BOOLEAN NOT NULL DEFAULT 1,
|
);
|
||||||
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
CREATE TABLE blacklist
|
||||||
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
(
|
||||||
comment TEXT);
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
CREATE TABLE regex (id INTEGER PRIMARY KEY AUTOINCREMENT,
|
domain TEXT UNIQUE NOT NULL,
|
||||||
domain TEXT UNIQUE NOT NULL,
|
enabled BOOLEAN NOT NULL DEFAULT 1,
|
||||||
enabled BOOLEAN NOT NULL DEFAULT 1,
|
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
comment TEXT
|
||||||
comment TEXT);
|
);
|
||||||
CREATE TABLE adlists (id INTEGER PRIMARY KEY AUTOINCREMENT,
|
CREATE TABLE regex
|
||||||
address TEXT UNIQUE NOT NULL,
|
(
|
||||||
enabled BOOLEAN NOT NULL DEFAULT 1,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
domain TEXT UNIQUE NOT NULL,
|
||||||
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
enabled BOOLEAN NOT NULL DEFAULT 1,
|
||||||
comment TEXT);
|
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
CREATE TABLE gravity (domain TEXT UNIQUE NOT NULL);
|
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
CREATE TABLE info (property TEXT NOT NULL, value TEXT NOT NULL);
|
comment TEXT
|
||||||
|
);
|
||||||
|
CREATE TABLE adlists
|
||||||
|
(
|
||||||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
|
address TEXT UNIQUE NOT NULL,
|
||||||
|
enabled BOOLEAN NOT NULL DEFAULT 1,
|
||||||
|
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
|
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
|
||||||
|
comment TEXT
|
||||||
|
);
|
||||||
|
CREATE TABLE gravity
|
||||||
|
(
|
||||||
|
domain TEXT UNIQUE NOT NULL
|
||||||
|
);
|
||||||
|
CREATE TABLE info
|
||||||
|
(
|
||||||
|
property TEXT NOT NULL,
|
||||||
|
value TEXT NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
INSERT INTO info VALUES("version","1");
|
INSERT INTO info VALUES("version","1");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user