diff options
author | Robin Bobbitt <ryehle@us.ibm.com> | 2017-06-13 12:45:27 -0400 |
---|---|---|
committer | Robin Bobbitt <ryehle@us.ibm.com> | 2017-06-13 23:23:20 -0400 |
commit | 5bea82de7f4e601e4c69cf5de718514c17286994 (patch) | |
tree | cf138136ad442b1d896c60785ed059466b4fe254 /db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb | |
parent | 0037cf634dbcc8045fba9cbc28133cfde07dc97c (diff) | |
download | gitlab-ce-5bea82de7f4e601e4c69cf5de718514c17286994.tar.gz |
Help landing page customizations - db changes
Diffstat (limited to 'db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb')
-rw-r--r-- | db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb b/db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb new file mode 100644 index 00000000000..5e8b667b86d --- /dev/null +++ b/db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb @@ -0,0 +1,9 @@ +class AddHelpPageHideCommercialContentToApplicationSettings < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :application_settings, :help_page_hide_commercial_content, :boolean, default: false + end +end |