vw_gravity should actually filter using vw_whitelist.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-06-16 18:52:23 +02:00
parent 01850c2128
commit 0774c4e5ca
No known key found for this signature in database
GPG key ID: FB60471F0575164A

View file

@ -83,7 +83,7 @@ INSERT INTO info VALUES("version","1");
CREATE VIEW vw_gravity AS SELECT a.domain CREATE VIEW vw_gravity AS SELECT a.domain
FROM gravity a FROM gravity a
WHERE a.domain NOT IN (SELECT domain from whitelist WHERE enabled == 1); WHERE a.domain NOT IN (SELECT domain from vw_whitelist);
CREATE VIEW vw_whitelist AS SELECT a.domain CREATE VIEW vw_whitelist AS SELECT a.domain
FROM whitelist a FROM whitelist a