-
- protected function dropAncientTables() {
- $ancientTables = array(
- 'blobs', // 1.4
- 'brokenlinks', // 1.4
- 'cur', // 1.4
- 'ip_blocks_old', // Temporary in 1.6
- 'links', // 1.4
- 'linkscc', // 1.4
- 'old', // 1.4
- 'oldwatchlist', // pre 1.1?
- 'trackback', // 1.19
- 'user_rights', // 1.5
- 'validate', // 1.6
- );
-
- foreach( $ancientTables as $table ) {
- if ( $this->db->tableExists( $table, __METHOD__ ) ) {
- $this->db->dropTable( $table, __METHOD__ );
- }
- }
- }
-
- protected function cleanupTextTable() {
- $this->output( "Cleaning up text table\n" );
-
- /*$oldIndexes = array(
- 'old_namespace',
- 'old_timestamp',
- 'name_title_timestamp',
- 'user_timestamp',
- 'usertext_timestamp',
- );*/
- $this->dropIndex( 'text', 'old_namespace', 'patch-drop_old_text_indexes.sql' );
-
- /*$oldFields = array(
- 'old_namespace',
- 'old_title',
- 'old_comment',
- 'old_user',
- 'old_user_text',
- 'old_timestamp',
- 'old_minor_edit',
- 'inverse_timestamp',
- );*/
- $this->dropField( 'text', 'old_namespace', 'patch-drop_old_text_fields.sql' );
- }
-