mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-10 15:16:54 -04:00
Remove special case for SQLite
More uniform logic for the 3 databases. Fix wrong DROP TABLE for SQLite.
This commit is contained in:
@@ -105,4 +105,12 @@ define(
|
||||
VALUES(:url, 1, :name, :website, :description, 86400);'
|
||||
);
|
||||
|
||||
define('SQL_DROP_TABLES', 'DROP TABLE IF EXISTS `entrytag`, `tag`, `entrytmp`, `entry`, `feed`, `category`');
|
||||
global $SQL_DROP_TABLES;
|
||||
$SQL_DROP_TABLES = [
|
||||
'DROP TABLE IF EXISTS `entrytag`',
|
||||
'DROP TABLE IF EXISTS `tag`',
|
||||
'DROP TABLE IF EXISTS `entrytmp`',
|
||||
'DROP TABLE IF EXISTS `entry`',
|
||||
'DROP TABLE IF EXISTS `feed`',
|
||||
'DROP TABLE IF EXISTS `category`',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user