diff --git a/advanced/Templates/gravity.db.sql b/advanced/Templates/gravity.db.sql index 5290e83b..23efa64a 100644 --- a/advanced/Templates/gravity.db.sql +++ b/advanced/Templates/gravity.db.sql @@ -16,6 +16,6 @@ CREATE VIEW vw_whitelist AS SELECT DISTINCT a.domain FROM whitelist a WHERE a.enabled == 1; -CREATE VIEW vw_regex AS SELECT DISTINCT a.domain +CREATE VIEW vw_regex AS SELECT DISTINCT a.filter FROM regex a WHERE a.enabled == 1;