gitlab-org--gitlab-foss/lib/gitlab/background_migration
Sean McGivern d3d9077830 Add a helper to rename a column using a background migration
This works the same way as change_column_type_using_background_migration, but
for renaming a column. It takes a table, not a relation, to match its concurrent
counterpart.

Also, generalise the cleanup migrations to reduce code duplication.
2018-06-26 13:54:52 +01:00
..
.gitkeep
.rubocop.yml
add_merge_request_diff_commits_count.rb
archive_legacy_traces.rb Revise comments in ArchiveLegacyTraces 2018-06-04 14:14:20 +09:00
cleanup_concurrent_rename.rb Add a helper to rename a column using a background migration 2018-06-26 13:54:52 +01:00
cleanup_concurrent_schema_change.rb Add a helper to rename a column using a background migration 2018-06-26 13:54:52 +01:00
cleanup_concurrent_type_change.rb Add a helper to rename a column using a background migration 2018-06-26 13:54:52 +01:00
copy_column.rb
create_fork_network_memberships_range.rb
create_gpg_key_subkeys_from_gpg_keys.rb
delete_conflicting_redirect_routes_range.rb
deserialize_merge_request_diffs_and_commits.rb
fill_file_store_job_artifact.rb Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes 2018-05-28 14:50:10 +09:00
fill_file_store_lfs_object.rb Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes 2018-05-28 14:50:10 +09:00
fill_store_upload.rb Remove Gitlab::BackgroundMigration exxxplicit namespaces from migration classes 2018-05-28 14:50:10 +09:00
migrate_build_stage.rb
migrate_build_stage_id_reference.rb
migrate_events_to_push_event_payloads.rb
migrate_stage_index.rb
migrate_stage_status.rb
migrate_system_uploads_to_new_folder.rb
move_personal_snippet_files.rb
normalize_ldap_extern_uids_range.rb
populate_fork_networks_range.rb
populate_import_state.rb
populate_merge_request_metrics_with_events_data.rb
populate_merge_requests_latest_merge_request_diff_id.rb
populate_untracked_uploads.rb
populate_untracked_uploads_dependencies.rb
prepare_untracked_uploads.rb Use data_source_exists? instead of table_exists? 2018-06-14 08:39:43 +02:00
rollback_import_state_data.rb
set_confidential_note_events_on_services.rb
set_confidential_note_events_on_webhooks.rb