Index: trunk/phase3/maintenance/archives/patch-msg_resource.sql |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | -- Table for storing JSON message blobs for the resource loader |
3 | 3 | CREATE TABLE /*_*/msg_resource ( |
4 | 4 | -- Resource name |
5 | | - mr_resource varchar(255) NOT NULL, |
| 5 | + mr_resource varbinary(255) NOT NULL, |
6 | 6 | -- Language code |
7 | 7 | mr_lang varbinary(32) NOT NULL, |
8 | 8 | -- JSON blob. This is an incomplete JSON object, i.e. without the wrapping {} |
— | — | @@ -13,8 +13,8 @@ |
14 | 14 | |
15 | 15 | -- Table for administering which message is contained in which resource |
16 | 16 | CREATE TABLE /*_*/msg_resource_links ( |
17 | | - mrl_resource varchar(255) NOT NULL, |
| 17 | + mrl_resource varbinary(255) NOT NULL, |
18 | 18 | -- Message key |
19 | | - mrl_message varchar(255) NOT NULL |
| 19 | + mrl_message varbinary(255) NOT NULL |
20 | 20 | ) /*$wgDBTableOptions*/; |
21 | 21 | CREATE UNIQUE INDEX /*i*/mrl_message_resource ON /*_*/msg_resource_links (mrl_message, mrl_resource); |
Index: trunk/phase3/maintenance/archives/patch-module_deps.sql |
— | — | @@ -3,9 +3,9 @@ |
4 | 4 | -- Currently only used for tracking images that CSS depends on |
5 | 5 | CREATE TABLE /*_*/module_deps ( |
6 | 6 | -- Module name |
7 | | - md_module varchar(255) NOT NULL, |
| 7 | + md_module varbinary(255) NOT NULL, |
8 | 8 | -- Skin name |
9 | | - md_skin varchar(32) NOT NULL, |
| 9 | + md_skin varbinary(32) NOT NULL, |
10 | 10 | -- JSON blob with file dependencies |
11 | 11 | md_deps mediumblob NOT NULL |
12 | 12 | ) /*$wgDBTableOptions*/; |
Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -1397,7 +1397,7 @@ |
1398 | 1398 | -- Table for storing JSON message blobs for the resource loader |
1399 | 1399 | CREATE TABLE /*_*/msg_resource ( |
1400 | 1400 | -- Resource name |
1401 | | - mr_resource varchar(255) NOT NULL, |
| 1401 | + mr_resource varbinary(255) NOT NULL, |
1402 | 1402 | -- Language code |
1403 | 1403 | mr_lang varbinary(32) NOT NULL, |
1404 | 1404 | -- JSON blob |
— | — | @@ -1409,9 +1409,9 @@ |
1410 | 1410 | |
1411 | 1411 | -- Table for administering which message is contained in which resource |
1412 | 1412 | CREATE TABLE /*_*/msg_resource_links ( |
1413 | | - mrl_resource varchar(255) NOT NULL, |
| 1413 | + mrl_resource varbinary(255) NOT NULL, |
1414 | 1414 | -- Message key |
1415 | | - mrl_message varchar(255) NOT NULL |
| 1415 | + mrl_message varbinary(255) NOT NULL |
1416 | 1416 | ) /*$wgDBTableOptions*/; |
1417 | 1417 | CREATE UNIQUE INDEX /*i*/mrl_message_resource ON /*_*/msg_resource_links (mrl_message, mrl_resource); |
1418 | 1418 | |
— | — | @@ -1420,9 +1420,9 @@ |
1421 | 1421 | -- Currently only used for tracking images that CSS depends on |
1422 | 1422 | CREATE TABLE /*_*/module_deps ( |
1423 | 1423 | -- Module name |
1424 | | - md_module varchar(255) NOT NULL, |
| 1424 | + md_module varbinary(255) NOT NULL, |
1425 | 1425 | -- Skin name |
1426 | | - md_skin varchar(32) NOT NULL, |
| 1426 | + md_skin varbinary(32) NOT NULL, |
1427 | 1427 | -- JSON blob with file dependencies |
1428 | 1428 | md_deps mediumblob NOT NULL |
1429 | 1429 | ) /*$wgDBTableOptions*/; |