SQL DROP TABLE

https://github.com/FreshRSS/FreshRSS/issues/1320
This commit is contained in:
Alexandre Alapetite committed 2016-10-15 20:01:48 +02:00
1 parent 91e3711a87
commit 34e38e3a97
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -56,4 +56,4 @@ $SQL_CREATE_TABLES = array(
'INSERT INTO "%1$sfeed" (url, category, name, website, description, ttl) SELECT \'https://github.com/FreshRSS/FreshRSS/releases.atom\', 1, \'FreshRSS @ GitHub\', \'https://github.com/FreshRSS/FreshRSS/\', \'FreshRSS releases @ GitHub\', 86400 WHERE NOT EXISTS (SELECT id FROM "%1$sfeed" WHERE url = \'https://github.com/FreshRSS/FreshRSS/releases.atom\');',
);
define('SQL_DROP_TABLES', 'DROP TABLES "%1$sentry", "%1$sfeed", "%1$scategory"');
define('SQL_DROP_TABLES', 'DROP TABLE IF EXISTS "%1$sentry", "%1$sfeed", "%1$scategory"');