diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-30 15:07:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-30 15:07:51 +0000 |
commit | 4e9acbfba3682c552b3de707c535e6257ef41054 (patch) | |
tree | 8b1fd5f89ad3f1be68d8944815b13bb7d498e4a6 /db/post_migrate | |
parent | 506d6dcd7c787ba71a8a53102f3d4fdb6adcfa5e (diff) | |
download | gitlab-ce-4e9acbfba3682c552b3de707c535e6257ef41054.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/post_migrate')
3 files changed, 3 insertions, 3 deletions
diff --git a/db/post_migrate/20190424134256_drop_projects_ci_id.rb b/db/post_migrate/20190424134256_drop_projects_ci_id.rb index 44e8f316393..223e9fd4a94 100644 --- a/db/post_migrate/20190424134256_drop_projects_ci_id.rb +++ b/db/post_migrate/20190424134256_drop_projects_ci_id.rb @@ -23,7 +23,7 @@ class DropProjectsCiId < ActiveRecord::Migration[5.1] def down unless column_exists?(:projects, :ci_id) - add_column :projects, :ci_id, :integer + add_column :projects, :ci_id, :integer # rubocop:disable Migration/AddColumnsToWideTables end unless index_exists?(:projects, :ci_id) diff --git a/db/post_migrate/20190511144331_remove_users_support_type.rb b/db/post_migrate/20190511144331_remove_users_support_type.rb index 32df33432b9..e72fbb229b8 100644 --- a/db/post_migrate/20190511144331_remove_users_support_type.rb +++ b/db/post_migrate/20190511144331_remove_users_support_type.rb @@ -17,7 +17,7 @@ class RemoveUsersSupportType < ActiveRecord::Migration[5.1] end def down - add_column :users, :support_bot, :boolean + add_column :users, :support_bot, :boolean # rubocop:disable Migration/AddColumnsToWideTables add_concurrent_index :users, :support_bot add_concurrent_index :users, :state, diff --git a/db/post_migrate/20191015154408_drop_merge_requests_require_code_owner_approval_from_projects.rb b/db/post_migrate/20191015154408_drop_merge_requests_require_code_owner_approval_from_projects.rb index a1d763b7ed1..f31471c2891 100644 --- a/db/post_migrate/20191015154408_drop_merge_requests_require_code_owner_approval_from_projects.rb +++ b/db/post_migrate/20191015154408_drop_merge_requests_require_code_owner_approval_from_projects.rb @@ -15,7 +15,7 @@ class DropMergeRequestsRequireCodeOwnerApprovalFromProjects < ActiveRecord::Migr end def down - add_column :projects, :merge_requests_require_code_owner_approval, :boolean + add_column :projects, :merge_requests_require_code_owner_approval, :boolean # rubocop:disable Migration/AddColumnsToWideTables add_concurrent_index( :projects, |