summaryrefslogtreecommitdiff
path: root/db/migrate/20160421130527_disable_repository_checks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160421130527_disable_repository_checks.rb')
-rw-r--r--db/migrate/20160421130527_disable_repository_checks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160421130527_disable_repository_checks.rb b/db/migrate/20160421130527_disable_repository_checks.rb
index 7e65ddc45e7..8b3ce73c5e8 100644
--- a/db/migrate/20160421130527_disable_repository_checks.rb
+++ b/db/migrate/20160421130527_disable_repository_checks.rb
@@ -1,5 +1,5 @@
# rubocop:disable all
-class DisableRepositoryChecks < ActiveRecord::Migration
+class DisableRepositoryChecks < ActiveRecord::Migration[4.2]
def up
change_column_default :application_settings, :repository_checks_enabled, false
execute 'UPDATE application_settings SET repository_checks_enabled = false'