summaryrefslogtreecommitdiff
path: root/db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb')
-rw-r--r--db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb b/db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb
index 0cda3d76a3d..a400a071e07 100644
--- a/db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb
+++ b/db/post_migrate/20180409170809_populate_missing_project_ci_cd_settings.rb
@@ -9,10 +9,6 @@ class PopulateMissingProjectCiCdSettings < ActiveRecord::Migration[4.2]
disable_ddl_transaction!
def up
- # MySQL does not support online upgrades, thus there can't be any missing
- # rows.
- return if Gitlab::Database.mysql?
-
# Projects created after the initial migration but before the code started
# using ProjectCiCdSetting won't have a corresponding row in
# project_ci_cd_settings, so let's fix that.