mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Fix typo in 2->3 migration script.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
f5121c64be
commit
0683842ec3
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ DROP VIEW vw_regex;
|
|||
DROP TRIGGER tr_regex_update;
|
||||
|
||||
CREATE VIEW vw_regex_blacklist AS SELECT DISTINCT domain
|
||||
FROM regex
|
||||
FROM regex_blacklist
|
||||
LEFT JOIN regex_blacklist_by_group ON regex_blacklist_by_group.regex_blacklist_id = regex_blacklist.id
|
||||
LEFT JOIN "group" ON "group".id = regex_blacklist_by_group.group_id
|
||||
WHERE regex_blacklist.enabled = 1 AND (regex_blacklist_by_group.group_id IS NULL OR "group".enabled = 1)
|
||||
|
|
Loading…
Reference in a new issue