mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-27 16:43:16 +00:00
b30d729aa4
Signed-off-by: Christian König <ckoenig@posteo.de>
15 lines
256 B
SQL
15 lines
256 B
SQL
.timeout 30000
|
|
|
|
PRAGMA FOREIGN_KEYS=OFF;
|
|
|
|
BEGIN TRANSACTION;
|
|
DROP VIEW vw_adlist;
|
|
|
|
CREATE VIEW vw_adlist AS SELECT DISTINCT address, id
|
|
FROM adlist
|
|
WHERE enabled = 1
|
|
ORDER BY id;
|
|
|
|
UPDATE info SET value = 15 WHERE property = 'version';
|
|
|
|
COMMIT;
|