Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -666,18 +666,4 @@ |
667 | 667 | $cl->execute(); |
668 | 668 | $this->output( "Rebuilding localisation cache done.\n" ); |
669 | 669 | } |
670 | | - |
671 | | - /** |
672 | | - * Increases the length of the user_group field |
673 | | - */ |
674 | | - protected function doIncreaseUserGroupLength() { |
675 | | - $this->output( 'Increasing the length of the user_group...' ); |
676 | | - if ( $this->updateRowExists( 'user_groups_length' ) ) { |
677 | | - $this->output( "...user_groups field is already long enough.\n" ); |
678 | | - return; |
679 | | - } |
680 | | - $this->applyPatch( 'patch-ug_group-length-increase.sql' ); |
681 | | - $this->insertUpdateRow( 'user_groups_length' ); |
682 | | - $this->output( "done.\n" ); |
683 | | - } |
684 | 670 | } |
Index: trunk/phase3/includes/installer/MysqlUpdater.php |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | array( 'addField', 'revision', 'rev_sha1', 'patch-rev_sha1.sql' ), |
192 | 192 | array( 'addField', 'archive', 'ar_sha1', 'patch-ar_sha1.sql' ), |
193 | 193 | array( 'addIndex', 'page', 'page_redirect_namespace_len', 'patch-page_redirect_namespace_len.sql' ), |
194 | | - array( 'doIncreaseUserGroupLength' ), |
| 194 | + array( 'modifyField', 'user', 'ug_group', 'patch-ug_group-length-increase.sql' ), |
195 | 195 | ); |
196 | 196 | } |
197 | 197 | |
Index: trunk/phase3/includes/installer/OracleUpdater.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | array( 'addField', 'archive', 'ar_sha1', 'patch-ar_sha1_field.sql' ), |
49 | 49 | array( 'doRemoveNotNullEmptyDefaults2' ), |
50 | 50 | array( 'addIndex', 'page', 'i03', 'patch-page_redirect_namespace_len.sql' ), |
51 | | - array( 'doIncreaseUserGroupLength' ), |
| 51 | + array( 'modifyField', 'user', 'ug_group', 'patch-ug_group-length-increase.sql' ), |
52 | 52 | |
53 | 53 | // till 2.0 i guess |
54 | 54 | array( 'doRebuildDuplicateFunction' ), |
Index: trunk/phase3/includes/installer/SqliteUpdater.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | array( 'addField', 'revision', 'rev_sha1', 'patch-rev_sha1.sql' ), |
70 | 70 | array( 'addField', 'archive', 'ar_sha1', 'patch-ar_sha1.sql' ), |
71 | 71 | array( 'addIndex', 'page', 'page_redirect_namespace_len', 'patch-page_redirect_namespace_len.sql' ), |
72 | | - array( 'doIncreaseUserGroupLength' ), |
| 72 | + array( 'modifyField', 'user', 'ug_group', 'patch-ug_group-length-increase.sql' ), |
73 | 73 | |
74 | 74 | ); |
75 | 75 | } |