mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-29 02:34:05 -04:00
MySQL create table bug
https://github.com/FreshRSS/FreshRSS/issues/845 And updated version comments to 1.1.1
This commit is contained in:
@@ -39,8 +39,8 @@ $SQL_CREATE_TABLES = array(
|
||||
`content` text,
|
||||
`link` varchar(1023) NOT NULL,
|
||||
`date` int(11), -- Until year 2038
|
||||
`lastSeen` INT(11) DEFAULT 0, -- v1.2, Until year 2038
|
||||
`hash` BINARY(16), -- v1.2
|
||||
`lastSeen` INT(11) DEFAULT 0, -- v1.1.1, Until year 2038
|
||||
`hash` BINARY(16), -- v1.1.1
|
||||
`is_read` boolean NOT NULL DEFAULT 0,
|
||||
`is_favorite` boolean NOT NULL DEFAULT 0,
|
||||
`id_feed` SMALLINT,
|
||||
@@ -52,7 +52,7 @@ $SQL_CREATE_TABLES = array(
|
||||
|
||||
'CREATE INDEX IF NOT EXISTS entry_is_favorite_index ON `%1$sentry`(`is_favorite`);',
|
||||
'CREATE INDEX IF NOT EXISTS entry_is_read_index ON `%1$sentry`(`is_read`);',
|
||||
'CREATE INDEX IF NOT EXISTS entry_lastSeen_index ON `%1$sentry`(`lastSeen`);', //v1.2
|
||||
'CREATE INDEX IF NOT EXISTS entry_lastSeen_index ON `%1$sentry`(`lastSeen`);', //v1.1.1
|
||||
|
||||
'INSERT OR IGNORE INTO `%1$scategory` (id, name) VALUES(1, "%2$s");',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user