Merge "Move around "ا" to after "آ" and not before"
[lhc/web/wiklou.git] / maintenance / sqlite / archives / patch-module_deps-fix-pk.sql
1 CREATE TABLE /*_*/module_deps_tmp (
2 -- Module name
3 md_module varbinary(255) NOT NULL,
4 -- Module context vary (includes skin and language; called "md_skin" for legacy reasons)
5 md_skin varbinary(32) NOT NULL,
6 -- JSON blob with file dependencies
7 md_deps mediumblob NOT NULL,
8 PRIMARY KEY (md_module,md_skin)
9 ) /*$wgDBTableOptions*/;
10
11 INSERT INTO /*_*/module_deps_tmp
12 SELECT * FROM /*_*/module_deps;
13
14 DROP TABLE /*_*/module_deps;
15
16 ALTER TABLE /*_*/module_deps_tmp RENAME TO /*_*/module_deps;