wiki.techinc.nl/maintenance/sqlite/archives
Brad Jorsch 0abb9338f8 Mostly drop old comment schemas
This removes most of the pre-CommentStore text columns, and the
$wgCommentTableSchemaMigrationStage setting that used to determine
whether the columns were used.

rev_comment remains in the code, as on Wikimedia wikis the revision
table is too large to alter at this time. A future change will combine
that with the removal of rev_user_text, rev_content_model, and
rev_content_format (and the addition of rev_comment_id and rev_actor).

CommentStore's constructor continues to take a $stage parameter, and
continues to have the logic for handling it, for the benefit of
extensions that might need their own migration process.

Bug: T166733
Change-Id: I1479c73774e01ead1490adf6128f820c09bce9d4
2019-02-07 16:59:27 +11:00
..
initial-indexes.sql Drop the transcache table from the schema 2018-08-31 19:50:49 -07:00
patch-actor-table.sql SQLite: Split actor and comment filearchive updates to a separate file 2018-11-28 13:59:19 -05:00
patch-add-3d.sql SQLite: Make patch-add-3d.sql a no-op 2018-11-26 13:58:03 -05:00
patch-ar_rev_id-not-null.sql Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
patch-archive-ar_id.sql
patch-archive-ar_rev_id-unique.sql Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
patch-archive-drop-ar_comment.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-archive_kill_ar_page_revid.sql
patch-cat_hidden.sql
patch-categorylinks-better-collation.sql
patch-categorylinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-change_tag-change_tag_rc_tag_id.sql Schema change for reading ct_tag_id instead of ct_tag 2018-09-04 19:29:48 +02:00
patch-change_tag-ct_id.sql
patch-comment-table.sql SQLite: Split actor and comment filearchive updates to a separate file 2018-11-28 13:59:19 -05:00
patch-drop-ar_text.sql Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
patch-drop-ct_tag.sql Drop ct_tag column from change_tag table 2018-11-28 23:03:43 +01:00
patch-drop-page_counter.sql
patch-drop-rc_cur_time.sql
patch-drop-ss_admins.sql
patch-drop-ss_total_views.sql
patch-drop-user_options.sql
patch-editsummary-length.sql
patch-externallinks-el_id.sql
patch-externallinks-el_index_60-drop-default.sql Populate externallinks.el_index_60 and drop default 2018-05-15 12:08:35 -04:00
patch-filearchive-drop-fa_description.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-filearchive-fa_actor.sql SQLite: Split actor and comment filearchive updates to a separate file 2018-11-28 13:59:19 -05:00
patch-filearchive-fa_description_id.sql SQLite: Split actor and comment filearchive updates to a separate file 2018-11-28 13:59:19 -05:00
patch-image-drop-img_description.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-image-img_description_id.sql DB: Add img_description_id column 2018-03-13 16:54:25 -04:00
patch-imagelinks-fix-pk.sql Make sure database update succeeds from older database versions too. 2019-01-13 06:29:37 +02:00
patch-interwiki-fix-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-ip_changes.sql Create new table to be used for querying IP ranges. 2017-08-10 21:28:16 +00:00
patch-ipblocks-drop-ipb_reason.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-iw_api_and_wikiid.sql
patch-iwlinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-job_token.sql
patch-jobs-add-timestamp.sql
patch-kill-iwl_prefix.sql
patch-l10n_cache-primary-key.sql Convert INDEX into PRIMARY KEY in l10n_cache 2017-09-05 17:58:12 +00:00
patch-langlinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-log_search-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-log_user_text.sql
patch-logging-drop-log_comment.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-module_deps-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-objectcache-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-oldimage-drop-oi_description.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-page-page_lang.sql
patch-page_props-fix-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-page_redirect_namespace_len.sql
patch-pagelinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-profiling.sql
patch-protected_titles-drop-pt_reason.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-protected_titles-fix-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-querycache_info-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-rc_moved.sql
patch-rd_interwiki.sql
patch-recentchanges-drop-rc_comment.sql Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
patch-recentchanges-nttindex.sql Change index on rc_namespace, rc_title to rc_namespace, rc_title, rc_timestamp 2018-04-04 09:08:28 +02:00
patch-rename-iwl_prefix.sql
patch-rev_text_id-default.sql Add default for revision.rev_text_id where missing 2018-03-19 18:20:27 +00:00
patch-revision-user-page-index.sql
patch-site_identifiers-fix-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-site_stats-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-site_stats-modify.sql Overhaul site_stats table 2018-03-26 23:51:40 +00:00
patch-sites.sql
patch-slot-origin.sql MCR: replace slot_inherited with slot_origin 2018-03-19 21:51:56 +01:00
patch-templatelinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-text-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-ufg_group-length-increase-255.sql
patch-ug_group-length-increase-255.sql
patch-user_former_groups-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-user_groups-ug_expiry.sql User group memberships that expire 2017-01-27 09:24:20 +00:00
patch-user_properties-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-watchlist-wl_id.sql
searchindex-fts3.sql
searchindex-no-fts.sql