aboutsummaryrefslogtreecommitdiff
path: root/app/SQL/install.sql.mysql.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-31 20:22:27 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-31 20:22:27 +0200
commit96ba71e618468f7d28a04c4ebc7c46dd912ccd75 (patch)
treed928639989351d12ddd57867278b88070b8ceb46 /app/SQL/install.sql.mysql.php
parent2afb4592264a1280b16b0cc86b1b14d5067056b3 (diff)
MySQL create table bug
https://github.com/FreshRSS/FreshRSS/issues/845 And updated version comments to 1.1.1
Diffstat (limited to 'app/SQL/install.sql.mysql.php')
-rw-r--r--app/SQL/install.sql.mysql.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/SQL/install.sql.mysql.php b/app/SQL/install.sql.mysql.php
index 9c6af405d..c5787d25b 100644
--- a/app/SQL/install.sql.mysql.php
+++ b/app/SQL/install.sql.mysql.php
@@ -41,8 +41,8 @@ CREATE TABLE IF NOT EXISTS `%1$sentry` (
`content_bin` blob, -- v0.7
`link` varchar(1023) CHARACTER SET latin1 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, -- v0.7
@@ -51,8 +51,8 @@ CREATE TABLE IF NOT EXISTS `%1$sentry` (
FOREIGN KEY (`id_feed`) REFERENCES `%1$sfeed`(`id`) ON DELETE CASCADE ON UPDATE CASCADE,
UNIQUE KEY (`id_feed`,`guid`), -- v0.7
INDEX (`is_favorite`), -- v0.7
- INDEX (`is_read`) -- v0.7
- INDEX entry_lastSeen_index (`lastSeen`) -- v1.2
+ INDEX (`is_read`), -- v0.7
+ INDEX `entry_lastSeen_index` (`lastSeen`) -- v1.1.1
) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
ENGINE = INNODB;