Index: branches/iwtransclusion/phase3/maintenance/archives/patch-iw_api_and_wikiid.sql |
— | — | @@ -0,0 +1,9 @@ |
| 2 | +-- |
| 3 | +-- Add iw_api and iw_wikiid to interwiki table |
| 4 | +-- |
| 5 | + |
| 6 | +ALTER TABLE /*_*/interwiki |
| 7 | + ADD iw_api BLOB NOT NULL; |
| 8 | +ALTER TABLE /*_*/interwiki |
| 9 | + ADD iw_wikiid varchar(64) NOT NULL; |
| 10 | + |
Index: branches/iwtransclusion/phase3/maintenance/updaters.inc |
— | — | @@ -176,6 +176,7 @@ |
177 | 177 | // 1.17 |
178 | 178 | array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ), |
179 | 179 | array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ), |
| 180 | + array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ), |
180 | 181 | ), |
181 | 182 | |
182 | 183 | 'sqlite' => array( |
— | — | @@ -207,6 +208,7 @@ |
208 | 209 | // 1.17 |
209 | 210 | array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ), |
210 | 211 | array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ), |
| 212 | + array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ), |
211 | 213 | ), |
212 | 214 | ); |
213 | 215 | |