diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-27 21:08:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-27 21:08:12 +0300 |
commit | 41c9fff024a72e6581e71c2ae080bdcb961a5601 (patch) | |
tree | b36a268efbaee403fa424048f030d5e281dcfbf8 /db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb | |
parent | fb73ca3398c2ac49a616ab553e117b0586089702 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb')
-rw-r--r-- | db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb b/db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb index 6893a02bcad..4ca7ad29691 100644 --- a/db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb +++ b/db/migrate/20191127221608_add_wildcard_and_domain_type_to_pages_domains.rb @@ -9,8 +9,10 @@ class AddWildcardAndDomainTypeToPagesDomains < ActiveRecord::Migration[5.2] disable_ddl_transaction! def up + # rubocop:disable Migration/AddColumnWithDefault add_column_with_default :pages_domains, :wildcard, :boolean, default: false add_column_with_default :pages_domains, :domain_type, :integer, limit: 2, default: PROJECT_TYPE + # rubocop:enable Migration/AddColumnWithDefault end def down |