mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
11 lines
438 B
SQL
11 lines
438 B
SQL
-- Fix a bug from the 1.2 -> 1.3 upgrader by moving away the imagelinks table
|
|
-- and recreating it.
|
|
RENAME TABLE /*_*/imagelinks TO /*_*/imagelinks_old;
|
|
CREATE TABLE /*_*/imagelinks (
|
|
il_from int unsigned NOT NULL default 0,
|
|
il_to varchar(255) binary NOT NULL default ''
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
CREATE UNIQUE INDEX /*i*/il_from ON /*_*/imagelinks (il_from,il_to);
|
|
CREATE UNIQUE INDEX /*i*/il_to ON /*_*/imagelinks (il_to,il_from);
|
|
|