aboutsummaryrefslogtreecommitdiff
path: root/app/SQL/install.sql.sqlite.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-15 20:03:04 +0200
committerGravatar GitHub <noreply@github.com> 2016-10-15 20:03:04 +0200
commit1c8cfc3e024a15ef3f072954ede8c08f0c3aab19 (patch)
treebea8f4bcb12abcb412d6b7b0f2ed29e67a080bd1 /app/SQL/install.sql.sqlite.php
parent91e3711a87660c0222c237a2acc1f41e4552fa0f (diff)
parent34e38e3a97814eae27174839dd04bcf79c3d62b5 (diff)
Merge pull request #1321 from Alkarex/drop-tables
PostgreSQL SQL DROP TABLE
Diffstat (limited to 'app/SQL/install.sql.sqlite.php')
-rw-r--r--app/SQL/install.sql.sqlite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/SQL/install.sql.sqlite.php b/app/SQL/install.sql.sqlite.php
index 9d146d6f0..1d3a5d92f 100644
--- a/app/SQL/install.sql.sqlite.php
+++ b/app/SQL/install.sql.sqlite.php
@@ -59,4 +59,4 @@ $SQL_CREATE_TABLES = array(
'INSERT OR IGNORE INTO `feed` (url, category, name, website, description, ttl) VALUES("https://github.com/FreshRSS/FreshRSS/releases.atom", 1, "FreshRSS releases", "https://github.com/FreshRSS/FreshRSS/", "FreshRSS releases @ GitHub", 86400);',
);
-define('SQL_DROP_TABLES', 'DROP TABLES entry, feed, category');
+define('SQL_DROP_TABLES', 'DROP TABLE IF EXISTS entry, feed, category');