wiki.techinc.nl/maintenance/archives
Brad Jorsch c84083e413 Make archive.ar_rev_id unique
To follow up I39b0825c, this change replaces the existing non-unique
index on the column with a unique index, to help avoid some of these
sort of bugs in the future.

Bug: T193180
Change-Id: I932478c9c6a13210bc9dff75286d0f08da56682c
2018-06-04 08:52:06 +00:00
..
.htaccess
patch-actor-table.sql Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
patch-add-3d.sql Add 3D filetype for STL files 2017-04-17 17:01:52 +02:00
patch-add-cl_collation_ext_index.sql Add new index to make updateCollation.php painless 2016-03-22 16:32:52 -06:00
patch-add-rc_name_type_patrolled_timestamp_index.sql Add rc_name_type_patrolled_timestamp index 2016-07-14 12:01:04 -04:00
patch-ar_deleted.sql
patch-ar_len.sql
patch-ar_parent_id.sql
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-ar_sha1.sql
patch-archive-ar_content_format.sql
patch-archive-ar_content_model.sql
patch-archive-ar_id.sql maintenance: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:32:44 -08:00
patch-archive-ar_rev_id-unique.sql Make archive.ar_rev_id unique 2018-06-04 08:52:06 +00:00
patch-archive-page_id.sql
patch-archive-rev_id.sql
patch-archive-text_id.sql
patch-archive-user-index.sql
patch-archive_ar_revid.sql Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes 2015-09-24 17:17:25 +02:00
patch-archive_kill_ar_page_revid.sql
patch-backlinkindexes.sql Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes 2015-09-24 17:17:25 +02:00
patch-bot.sql
patch-bot_passwords-bp_user-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-bot_passwords.sql Revert "Remove SessionManager, temporarily" 2016-02-03 21:44:59 +00:00
patch-cache.sql
patch-cat_hidden.sql
patch-category.sql
patch-categorylinks-better-collation.sql maintenance: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:32:44 -08:00
patch-categorylinks-better-collation2.sql
patch-categorylinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-categorylinks.sql
patch-categorylinksindex.sql Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes 2015-09-24 17:17:25 +02:00
patch-change_tag-ct_id.sql Add primary key to change_tag and tag_summary tables 2016-10-02 13:02:41 +11:00
patch-change_tag-ct_log_id-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-change_tag-ct_rev_id-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-change_tag-indexes.sql
patch-change_tag-tag_id.sql Add ct_tag_id field to change_tag table 2018-05-18 16:37:04 +02: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 Prefix comment table when adding indexes 2017-08-30 16:41:38 +00:00
patch-content.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-content_models.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-drop-ar_text.sql Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04: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-drop_img_type.sql
patch-editsummary-length.sql Don't unconditionally run patch-editsummary-length.sql 2017-09-18 14:27:59 +00:00
patch-email-authentication.sql
patch-email-notification.sql
patch-externallinks-el_id.sql maintenance: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:32:44 -08:00
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-externallinks-el_index_60.sql Add externallinks.el_index_60 column and indexes 2016-11-21 16:37:49 -05:00
patch-externallinks.sql
patch-fa_deleted.sql
patch-fa_major_mime-chemical.sql
patch-fa_sha1.sql
patch-filearchive-user-index.sql
patch-filearchive.sql
patch-filejournal.sql
patch-fix-il_from.sql
patch-il_from_namespace.sql Reorder backlinks indexes 2015-02-16 09:24:01 +00:00
patch-image-img_description_id.sql DB: Add img_description_id column 2018-03-13 16:54:25 -04:00
patch-image-user-index-2.sql Add image.img_user, image.img_timestamp index 2017-03-14 15:37:27 +01:00
patch-image-user-index.sql Add image.img_user, image.img_timestamp index 2017-03-14 15:37:27 +01:00
patch-image_name_primary.sql
patch-image_name_unique.sql
patch-imagelinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-img_exif.sql
patch-img_major_mime-chemical.sql
patch-img_media_mime-index.sql
patch-img_media_type.sql Update weblinks in comments from HTTP to HTTPS 2016-11-07 15:24:46 +01:00
patch-img_metadata.sql
patch-img_sha1.sql
patch-img_width.sql
patch-indexes.sql
patch-interwiki-trans.sql
patch-interwiki.sql
patch-inverse_timestamp.sql
patch-ip_changes.sql Create new table to be used for querying IP ranges. 2017-08-10 21:28:16 +00:00
patch-ipb-parent-block-id-index.sql
patch-ipb-parent-block-id.sql
patch-ipb_allow_usertalk.sql
patch-ipb_anon_only.sql
patch-ipb_by_text.sql
patch-ipb_deleted.sql
patch-ipb_emailban.sql
patch-ipb_expiry.sql
patch-ipb_optional_autoblock.sql
patch-ipb_range_start.sql
patch-ipblocks.sql
patch-iw_api_and_wikiid.sql
patch-iwl_prefix_title_from-non-unique.sql
patch-iwlinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-iwlinks-from-title-index.sql
patch-iwlinks.sql
patch-job.sql
patch-job_attempts.sql
patch-job_token.sql
patch-jobs-add-timestamp.sql
patch-kill-cl_collation_index.sql Add new index to make updateCollation.php painless 2016-03-22 16:32:52 -06:00
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-l10n_cache.sql
patch-langlinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-langlinks-ll_lang-20.sql
patch-langlinks.sql
patch-linkscc-1.3.sql
patch-linkscc.sql
patch-linktables.sql
patch-log_deleted.sql
patch-log_id.sql
patch-log_params.sql
patch-log_search-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-log_search.sql
patch-log_user_text.sql
patch-logging-times-index.sql
patch-logging-title.sql
patch-logging-type-action-index.sql
patch-logging.sql
patch-logging_user_text_time_index.sql
patch-logging_user_text_type_time_index.sql
patch-mime_minor_length.sql
patch-mimesearch-indexes.sql
patch-module_deps-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-module_deps.sql
patch-nullable-ar_text.sql Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
patch-objectcache-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-objectcache.sql
patch-oi_major_mime-chemical.sql
patch-oi_metadata.sql
patch-oldestindex.sql
patch-oldimage-user-index.sql
patch-page-page_content_model.sql
patch-page_lang.sql
patch-page_len.sql
patch-page_links_updated.sql
patch-page_props-propname-page-index.sql
patch-page_props.sql
patch-page_redirect_namespace_len.sql
patch-page_restrictions-pr_user-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-page_restrictions.sql
patch-page_restrictions_sortkey.sql
patch-pagelinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-pagelinks.sql
patch-parsercache.sql
patch-pl-tl-il-nonunique.sql Remove patch-pl-tl-il-unique.sql 2016-08-26 05:09:12 -04:00
patch-pl_from_namespace.sql Reorder backlinks indexes 2015-02-16 09:24:01 +00:00
patch-pp_sortkey.sql
patch-profiling-memory.sql
patch-profiling.sql
patch-protected_titles.sql
patch-pt_title-encoding.sql
patch-querycache.sql
patch-querycache_info-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-querycacheinfo.sql
patch-querycachetwo.sql
patch-random-dateindex.sql
patch-rc-newindex.sql
patch-rc-patrol.sql
patch-rc_deleted.sql
patch-rc_id.sql
patch-rc_ip.sql
patch-rc_ip_modify.sql Add patch to migrate rc_ip field to varbinary(40) 2016-10-12 22:15:13 +00:00
patch-rc_len.sql
patch-rc_moved.sql
patch-rc_source.sql
patch-rc_type.sql
patch-rc_user_text-index.sql
patch-rd_interwiki.sql
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-recentchanges-utindex.sql
patch-redirect.sql
patch-rename-ar_usertext_timestamp.sql Fix incorrect index name in new 1.28.0 installations 2017-04-06 08:04:06 +10:00
patch-rename-iwl_prefix.sql
patch-rename-user_groups-and_rights.sql
patch-rev_deleted.sql
patch-rev_len.sql
patch-rev_parent_id.sql
patch-rev_sha1.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-rev_text_id.sql
patch-revision-page-rev-index-nonunique.sql Remove redundant UNIQUE from rev_page_id 2016-08-25 06:30:41 +00:00
patch-revision-rev_content_format.sql
patch-revision-rev_content_model.sql
patch-revision-user-page-index.sql
patch-searchindex.sql
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-slot_roles.sql MCR database schema 2017-12-23 17:43:09 -05:00
patch-slots.sql MCR: replace slot_inherited with slot_origin 2018-03-19 21:51:56 +01:00
patch-ss_active_users.sql
patch-ss_images.sql
patch-ss_total_articles.sql
patch-tag_summary-ts_id.sql Add primary key to change_tag and tag_summary tables 2016-10-02 13:02:41 +11:00
patch-tag_summary-ts_log_id-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-tag_summary-ts_rev_id-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-tag_summary.sql
patch-tc-timestamp.sql
patch-templatelinks-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-templatelinks.sql
patch-testrun.sql
patch-text-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-tl_from_namespace.sql Reorder backlinks indexes 2015-02-16 09:24:01 +00:00
patch-transcache-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-transcache.sql
patch-ufg_group-length-increase-255.sql
patch-ug_group-length-increase-255.sql
patch-ul_value.sql
patch-up_property.sql maintenance: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:32:44 -08:00
patch-updatelog.sql
patch-uploadstash-us_props.sql
patch-uploadstash.sql
patch-uploadstash_chunk.sql
patch-user-newtalk-timestamp-null.sql
patch-user-realname.sql
patch-user_editcount.sql
patch-user_email_index.sql
patch-user_email_token.sql
patch-user_former_groups-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-user_former_groups.sql
patch-user_groups-primary-key.sql Don't try to drop ug_user_group index if it doesn't exist 2017-02-02 01:57:09 +11:00
patch-user_groups-ug_expiry.sql Don't try to drop ug_user_group index if it doesn't exist 2017-02-02 01:57:09 +11:00
patch-user_groups.sql
patch-user_last_timestamp.sql
patch-user_nameindex.sql
patch-user_newpass_time.sql
patch-user_newtalk-user_id-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-user_password_expire.sql
patch-user_properties-fix-pk.sql Convert UNIQUE keys into PRIMARY KEY 2017-08-29 18:25:37 +01:00
patch-user_properties-up_user-unsigned.sql Making numerous fields unsigned to match their target referenced column 2017-09-06 19:34:09 +01:00
patch-user_properties.sql
patch-user_registration.sql
patch-user_rights.sql Documentation: Replace misuse of 'later' when we meant 'latter' 2016-09-07 13:13:42 -07:00
patch-user_token.sql
patch-userindex.sql
patch-userlevels.sql
patch-usernewtalk.sql
patch-valid_tag.sql
patch-watchlist-null.sql
patch-watchlist-user-notificationtimestamp-index.sql
patch-watchlist-wl_id.sql Add id field to watchlist db table 2016-02-18 21:01:01 +00:00
patch-watchlist.sql
upgradeLogging.php Pass '' instead of false for the $conds parameter in select calls. 2018-03-02 02:32:54 +00:00