mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-14 11:27:09 -04:00
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
This commit is contained in:
committed by
GitHub
parent
b034ce2ccb
commit
e08574a47d
@@ -65,7 +65,7 @@ CREATE TABLE IF NOT EXISTS `_entry` (
|
||||
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
|
||||
ENGINE = INNODB;
|
||||
|
||||
INSERT IGNORE INTO `_category` (id, name) VALUES(1, "Uncategorized");
|
||||
INSERT IGNORE INTO `_category` (id, name) VALUES(1, 'Uncategorized');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `_entrytmp` ( -- v1.7
|
||||
`id` BIGINT NOT NULL,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user