Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-25 11:59:23 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-07-25 12:47:12 +0300
commitb95da565cd91fff0729fb4bf6632fb6224de8843 (patch)
treebc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb
parent068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff)
Enable rubocop for db/**/* and ee/db/**/*
Diffstat (limited to 'db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb')
-rw-r--r--db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb b/db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb
index 306cd737771..f5afdb0e4e6 100644
--- a/db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb
+++ b/db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb
@@ -4,6 +4,7 @@ class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration
DOWNTIME = false
def change
+ # rubocop:disable Migration/SaferBooleanColumn
add_column :application_settings, :enforce_terms, :boolean, default: false
end
end