wiki.techinc.nl/maintenance/postgres/archives
Amir Sarabadani 1476e3b5b5 Migrate categorylinks to abstract schema
To get MySQL/SQLite migrated, changing type of cl_to and
cl_sortkey_prefix from "varchar() binary" to varbinary

For Postgres:
 - Dropping foreign key on cl_from
 - Setting proper default for cl_from, cl_to, cl_sortkey, cl_collation
 - Set cl_sortkey to not nullable
 - Dropping unique index cl_from which in turn should become PK
 - Adding several missing indexes
 - Fixing columns of cl_sortkey

Bug: T230428
Bug: T164898
Change-Id: I83043ef41f9c753734f1e4b51237d979031dd71a
2020-12-03 07:43:02 +00:00
..
patch-actor-table.sql Split down patch-actor-table.sql 2019-09-30 15:20:08 +00:00
patch-add_interwiki.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-ar_rev_id-not-null.sql Populate ar_rev_id and make it non-nullable 2018-04-02 13:08:55 -04:00
patch-bot_passwords.sql
patch-category.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-categorylinks-better-collation.sql
patch-categorylinks-pk.sql Migrate categorylinks to abstract schema 2020-12-03 07:43:02 +00:00
patch-change_tag-change_tag_rc_tag_id.sql Fix table prefixing in patch-change_tag-change_tag_rc_tag_id.sql 2018-09-06 22:41:27 +01:00
patch-change_tag.sql
patch-change_tag_def.sql Introduce change_tag_def table 2018-05-08 18:48:52 +02:00
patch-comment-table.sql Split down patch-comment-table.sql 2019-08-20 19:35:57 +00:00
patch-content-table.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-content_models-table.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-drop-ar_text.sql Fix typo in postgres patch-drop-ar_text.sql 2018-04-26 14:52:12 -04:00
patch-drop-ct_tag.sql Start generateSchemaChangeSql.php 2020-11-01 21:14:53 +01:00
patch-image_comment_temp-table.sql Split down patch-comment-table.sql 2019-08-20 19:35:57 +00:00
patch-interwiki-pk.sql Fix DROP CONSTRAINT for interwiki.iw_prefix PostgreSQL patch 2020-08-08 23:25:43 +00:00
patch-ip_changes.sql Remove DEFAULT '' from postgres ip_changes.ipc_rev_timestamp 2017-11-29 20:11:19 +00:00
patch-ipblocks_restrictions-table.sql Make Schema changes for Partial Blocks 2018-09-07 15:25:49 -07:00
patch-iwlinks-pk.sql Migrate iwlinks to abstract schema 2020-09-05 20:02:43 +02:00
patch-iwlinks.sql
patch-kill-iwl_prefix.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-l10n_cache-pk.sql Migrate l10n_cache and module_deps to abstract schema 2020-08-06 22:07:22 +02:00
patch-l10n_cache.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-langlinks-pk.sql Migrate langlinks to abstract schema 2020-09-05 19:29:23 +02:00
patch-log_search.sql
patch-module_deps-pk.sql Migrate l10n_cache and module_deps to abstract schema 2020-08-06 22:07:22 +02:00
patch-module_deps.sql
patch-page.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-page_deleted.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-page_props.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-page_restrictions.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-protected_titles-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-protected_titles.sql
patch-querycache_info-pk.sql Migrate querycache_info to abstract schema 2020-10-20 08:18:03 +01:00
patch-querycachetwo.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-rc_cur_id-not-null.sql
patch-redirect-pk.sql Postgres: Add PK to redirect table 2019-11-27 08:24:49 +00:00
patch-redirect.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-remove-archive2.sql
patch-rename-iwl_prefix.sql
patch-revision_actor_temp-table.sql Split down patch-actor-table.sql 2019-09-30 15:20:08 +00:00
patch-revision_comment_temp-table.sql Split down patch-comment-table.sql 2019-08-20 19:35:57 +00:00
patch-revision_rev_user_fkey.sql Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
patch-site_identifiers-pk.sql Convert numerous UNIQUE INDEX to PRIMARY KEY 2018-07-11 20:36:33 +01:00
patch-site_stats-modify.sql Overhaul site_stats table 2018-03-26 23:51:40 +00:00
patch-site_stats-pk.sql Add primary keys to site_stats 2017-10-17 11:59:20 +00:00
patch-sites.sql
patch-slot_roles-table.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-slots-table.sql MCR: replace slot_inherited with slot_origin 2018-03-19 21:51:56 +01:00
patch-testrun.sql
patch-textsearch_bug66650.sql
patch-ts2pagetitle.sql rdbms: Remove support for PostgreSQL < 9.2, and improve INSERT IGNORE for 9.5 2018-04-05 20:52:46 +00:00
patch-tsearch2funcs.sql
patch-update_sequences.sql
patch-updatelog.sql
patch-uploadstash.sql
patch-uploadstash_sequence.sql
patch-user_former_groups.sql
patch-user_properties-pk.sql Fix primary key sql patches of Postgres 2020-08-07 21:30:24 +02:00
patch-user_properties.sql
patch-watchlist_expiry.sql Create new table for watchlist expiry 2020-02-07 14:59:50 -05:00