From e08574a47d33c74eccc0675248a8d83ca205fed2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 8 Aug 2024 22:56:32 +0200 Subject: SQL single quote string literals (#6701) https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted fix https://github.com/FreshRSS/FreshRSS/issues/6602 And MySQL at the same time https://dev.mysql.com/doc/refman/9.0/en/string-literals.html --- app/SQL/install.sql.sqlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/SQL/install.sql.sqlite.php') diff --git a/app/SQL/install.sql.sqlite.php b/app/SQL/install.sql.sqlite.php index e0c8b506e..1deb627d3 100644 --- a/app/SQL/install.sql.sqlite.php +++ b/app/SQL/install.sql.sqlite.php @@ -60,7 +60,7 @@ CREATE INDEX IF NOT EXISTS entry_is_read_index ON `entry`(`is_read`); CREATE INDEX IF NOT EXISTS entry_lastSeen_index ON `entry`(`lastSeen`); -- //v1.1.1 CREATE INDEX IF NOT EXISTS entry_feed_read_index ON `entry`(`id_feed`,`is_read`); -- v1.7 -INSERT OR IGNORE INTO `category` (id, name) VALUES(1, "Uncategorized"); +INSERT OR IGNORE INTO `category` (id, name) VALUES(1, 'Uncategorized'); CREATE TABLE IF NOT EXISTS `entrytmp` ( -- v1.7 `id` BIGINT NOT NULL, -- cgit v1.2.3