mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
syntax error...
This commit is contained in:
parent
db370493af
commit
56706495b2
@ -78,7 +78,7 @@
|
|||||||
query("UPDATE `mods` SET `boards` = '*'") or error(db_error());
|
query("UPDATE `mods` SET `boards` = '*'") or error(db_error());
|
||||||
case 'v0.9.3-dev-2':
|
case 'v0.9.3-dev-2':
|
||||||
$boards = listBoards();
|
$boards = listBoards();
|
||||||
foreach($boards as &_$board) {
|
foreach($boards as &$_board) {
|
||||||
query(sprintf("ALTER TABLE `posts_%s` CHANGE `filehash` `filehash` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL", $_board['uri'])) or error(db_error());
|
query(sprintf("ALTER TABLE `posts_%s` CHANGE `filehash` `filehash` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL", $_board['uri'])) or error(db_error());
|
||||||
}
|
}
|
||||||
case false:
|
case false:
|
||||||
|
Loading…
Reference in New Issue
Block a user