1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Minor error fix for upgrades from 5.1.3 or earlier

Closes #256 and #199.

Full credit for locating the fix goes to @LZZZZ.
This commit is contained in:
Valentijn 2017-10-01 20:14:52 +02:00 committed by GitHub
parent d5ee60009f
commit be651829e7

View File

@ -593,7 +593,7 @@ if (file_exists($config['has_installed'])) {
`extra` varchar(200),
`text` varchar(255),
`created_at` int(11),
PRIMARY KEY (`cookie`,`extra`),
PRIMARY KEY (`cookie`,`extra`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;') or error(db_error());
case false:
// TODO: enhance Tinyboard -> vichan upgrade path.