From d5781fb1105d0c0ca1eda09c8e92f19ac135ff0c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 1 May 2019 16:38:41 +0200 Subject: [PATCH] Fix extra space in front on END statement in CREATE TRIGGER commands Signed-off-by: DL6ER --- advanced/Templates/gravity.db.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/advanced/Templates/gravity.db.sql b/advanced/Templates/gravity.db.sql index dac0a50c..0960018b 100644 --- a/advanced/Templates/gravity.db.sql +++ b/advanced/Templates/gravity.db.sql @@ -17,7 +17,7 @@ CREATE VIEW vw_whitelist AS SELECT a.domain CREATE TRIGGER tr_whitelist_update AFTER UPDATE ON whitelist BEGIN UPDATE whitelist SET date_modified = (cast(strftime('%s', 'now') as int)) WHERE domain = NEW.domain; - END; + END; CREATE VIEW vw_blacklist AS SELECT a.domain FROM blacklist a @@ -25,7 +25,7 @@ CREATE VIEW vw_blacklist AS SELECT a.domain CREATE TRIGGER tr_blacklist_update AFTER UPDATE ON blacklist BEGIN UPDATE blacklist SET date_modified = (cast(strftime('%s', 'now') as int)) WHERE domain = NEW.domain; - END; + END; CREATE VIEW vw_regex AS SELECT a.domain FROM regex a @@ -33,7 +33,7 @@ CREATE VIEW vw_regex AS SELECT a.domain CREATE TRIGGER tr_regex_update AFTER UPDATE ON regex BEGIN UPDATE regex SET date_modified = (cast(strftime('%s', 'now') as int)) WHERE domain = NEW.domain; - END; + END; CREATE VIEW vw_adlists AS SELECT a.address FROM adlists a @@ -41,5 +41,5 @@ CREATE VIEW vw_adlists AS SELECT a.address CREATE TRIGGER tr_adlists_update AFTER UPDATE ON adlists BEGIN UPDATE adlists SET date_modified = (cast(strftime('%s', 'now') as int)) WHERE address = NEW.address; - END; + END;