Updated February 19, 2025 10:23PM

This commit is contained in:
root
2025-02-19 22:23:17 -06:00
parent e313bd4d39
commit b906f8ea34

View File

@@ -77,7 +77,7 @@ INSERT INTO domainlist VALUES(67,2,'(\.|^)plex\.direct$',1,1738903535,1738903535
CREATE TABLE adlist CREATE TABLE adlist
( (
id INTEGER PRIMARY KEY AUTOINCREMENT, id INTEGER PRIMARY KEY AUTOINCREMENT,
address TEXT UNIQUE NOT NULL, address TEXT 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)),
@@ -85,13 +85,16 @@ CREATE TABLE adlist
date_updated INTEGER, date_updated INTEGER,
number INTEGER NOT NULL DEFAULT 0, number INTEGER NOT NULL DEFAULT 0,
invalid_domains INTEGER NOT NULL DEFAULT 0, invalid_domains INTEGER NOT NULL DEFAULT 0,
status INTEGER NOT NULL DEFAULT 0 status INTEGER NOT NULL DEFAULT 0,
abp_entries INTEGER NOT NULL DEFAULT 0,
type INTEGER NOT NULL DEFAULT 0,
UNIQUE(address, type)
); );
INSERT INTO adlist VALUES(1,'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts',0,1719171501,1719873562,'Migrated from /etc/pihole/adlists.list',1719739921,161604,1,1); INSERT INTO adlist VALUES(1,'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts',0,1719171501,1719873562,'Migrated from /etc/pihole/adlists.list',1719739921,161604,1,1,0,0);
INSERT INTO adlist VALUES(2,'https://v.firebog.net/hosts/static/w3kbl.txt',1,1719873553,1719873553,NULL,1739699702,351,0,2); INSERT INTO adlist VALUES(2,'https://v.firebog.net/hosts/static/w3kbl.txt',1,1719873553,1719873553,NULL,1740024122,351,0,2,0,0);
INSERT INTO adlist VALUES(3,'https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts',0,1719873568,1719873570,NULL,NULL,0,0,0); INSERT INTO adlist VALUES(3,'https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts',0,1719873568,1719873570,NULL,NULL,0,0,0,0,0);
INSERT INTO adlist VALUES(4,'https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt',1,1719873575,1728180003,NULL,1739699703,429286,0,2); INSERT INTO adlist VALUES(4,'https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt',1,1719873575,1728180003,NULL,1740024124,429286,0,2,0,0);
INSERT INTO adlist VALUES(5,'https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt',1,1719873584,1719873584,NULL,1739699704,0,0,1); INSERT INTO adlist VALUES(5,'https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt',1,1719873584,1719873584,NULL,1740024126,187271,0,2,187271,0);
CREATE TABLE domainlist_by_group CREATE TABLE domainlist_by_group
( (
domainlist_id INTEGER NOT NULL REFERENCES domainlist (id), domainlist_id INTEGER NOT NULL REFERENCES domainlist (id),