diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-05 12:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-05 12:09:10 +0300 |
commit | 315243f87739dd1edda2b75361f826abc91d4069 (patch) | |
tree | f72b9e0c3e79e263687ea8d127a3e78bde9d8760 /db | |
parent | 1c4f17276df2af5a6c205c2a3ceec907751edf68 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
12 files changed, 24 insertions, 0 deletions
diff --git a/db/migrate/20190325080727_truncate_user_fullname.rb b/db/migrate/20190325080727_truncate_user_fullname.rb index e5f88671eef..29255d173d8 100644 --- a/db/migrate/20190325080727_truncate_user_fullname.rb +++ b/db/migrate/20190325080727_truncate_user_fullname.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # rubocop:disable Migration/UpdateLargeTable class TruncateUserFullname < ActiveRecord::Migration[5.0] include Gitlab::Database::MigrationHelpers diff --git a/db/migrate/20190828110802_add_not_null_constraints_to_prometheus_metrics_y_label_and_unit.rb b/db/migrate/20190828110802_add_not_null_constraints_to_prometheus_metrics_y_label_and_unit.rb index 6f3650ca966..1b238907af6 100644 --- a/db/migrate/20190828110802_add_not_null_constraints_to_prometheus_metrics_y_label_and_unit.rb +++ b/db/migrate/20190828110802_add_not_null_constraints_to_prometheus_metrics_y_label_and_unit.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AddNotNullConstraintsToPrometheusMetricsYLabelAndUnit < ActiveRecord::Migration[5.2] DOWNTIME = false diff --git a/db/migrate/20190828172831_create_package_tag.rb b/db/migrate/20190828172831_create_package_tag.rb index 3d26b7ce602..a70b71db51d 100644 --- a/db/migrate/20190828172831_create_package_tag.rb +++ b/db/migrate/20190828172831_create_package_tag.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # frozen_string_literal: true . class CreatePackageTag < ActiveRecord::Migration[5.2] diff --git a/db/migrate/20191003195218_add_pendo_enabled_to_application_settings.rb b/db/migrate/20191003195218_add_pendo_enabled_to_application_settings.rb index 29ae831d4f4..2d937327ca1 100644 --- a/db/migrate/20191003195218_add_pendo_enabled_to_application_settings.rb +++ b/db/migrate/20191003195218_add_pendo_enabled_to_application_settings.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AddPendoEnabledToApplicationSettings < ActiveRecord::Migration[5.2] include Gitlab::Database::MigrationHelpers diff --git a/db/migrate/20191003195620_add_pendo_url_to_application_settings.rb b/db/migrate/20191003195620_add_pendo_url_to_application_settings.rb index 6763cb5544c..cbeb1ef5186 100644 --- a/db/migrate/20191003195620_add_pendo_url_to_application_settings.rb +++ b/db/migrate/20191003195620_add_pendo_url_to_application_settings.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AddPendoUrlToApplicationSettings < ActiveRecord::Migration[5.2] include Gitlab::Database::MigrationHelpers diff --git a/db/migrate/20191120200015_add_index_to_grafana_integrations.rb b/db/migrate/20191120200015_add_index_to_grafana_integrations.rb index 87292c86e97..c67f6850baf 100644 --- a/db/migrate/20191120200015_add_index_to_grafana_integrations.rb +++ b/db/migrate/20191120200015_add_index_to_grafana_integrations.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AddIndexToGrafanaIntegrations < ActiveRecord::Migration[5.2] include Gitlab::Database::MigrationHelpers diff --git a/db/migrate/20200229171700_create_custom_emojis.rb b/db/migrate/20200229171700_create_custom_emojis.rb index 1a60d7c8a63..f0574831f33 100644 --- a/db/migrate/20200229171700_create_custom_emojis.rb +++ b/db/migrate/20200229171700_create_custom_emojis.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateCustomEmojis < ActiveRecord::Migration[5.2] include Gitlab::Database::MigrationHelpers DOWNTIME = false diff --git a/db/migrate/20201004163918_remove_project_id_and_id_index_from_vulnerabilities_table.rb b/db/migrate/20201004163918_remove_project_id_and_id_index_from_vulnerabilities_table.rb index 7a59e706bf3..73028b6b795 100644 --- a/db/migrate/20201004163918_remove_project_id_and_id_index_from_vulnerabilities_table.rb +++ b/db/migrate/20201004163918_remove_project_id_and_id_index_from_vulnerabilities_table.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class RemoveProjectIdAndIdIndexFromVulnerabilitiesTable < ActiveRecord::Migration[6.0] include Gitlab::Database::MigrationHelpers diff --git a/db/migrate/20201214000000_change_mr_allow_maintainer_to_push_default.rb b/db/migrate/20201214000000_change_mr_allow_maintainer_to_push_default.rb index 0d97d54f3e4..47eec16807b 100644 --- a/db/migrate/20201214000000_change_mr_allow_maintainer_to_push_default.rb +++ b/db/migrate/20201214000000_change_mr_allow_maintainer_to_push_default.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ChangeMrAllowMaintainerToPushDefault < ActiveRecord::Migration[6.0] include Gitlab::Database::MigrationHelpers diff --git a/db/optional_migrations/composite_primary_keys.rb b/db/optional_migrations/composite_primary_keys.rb index 1fcb9664ff6..13bc58b8692 100644 --- a/db/optional_migrations/composite_primary_keys.rb +++ b/db/optional_migrations/composite_primary_keys.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # This migration adds a primary key constraint to tables # that only have a composite unique key. # diff --git a/db/post_migrate/20190214112022_schedule_sync_issuables_state_id.rb b/db/post_migrate/20190214112022_schedule_sync_issuables_state_id.rb index c05ad73d616..34536e22bbf 100644 --- a/db/post_migrate/20190214112022_schedule_sync_issuables_state_id.rb +++ b/db/post_migrate/20190214112022_schedule_sync_issuables_state_id.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ScheduleSyncIssuablesStateId < ActiveRecord::Migration[5.0] # This migration schedules the sync of state_id for issues and merge requests # which are converting the state column from string to integer. diff --git a/db/post_migrate/20201030121314_schedule_update_existing_users_that_require_two_factor_auth.rb b/db/post_migrate/20201030121314_schedule_update_existing_users_that_require_two_factor_auth.rb index 2cb7c9c5250..6a031c28ed7 100644 --- a/db/post_migrate/20201030121314_schedule_update_existing_users_that_require_two_factor_auth.rb +++ b/db/post_migrate/20201030121314_schedule_update_existing_users_that_require_two_factor_auth.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # # frozen_string_literal: true class ScheduleUpdateExistingUsersThatRequireTwoFactorAuth < ActiveRecord::Migration[6.0] |