diff options
Diffstat (limited to 'db/migrate/20200624222443_add_default_branch_name_to_application_settings.rb')
-rw-r--r-- | db/migrate/20200624222443_add_default_branch_name_to_application_settings.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20200624222443_add_default_branch_name_to_application_settings.rb b/db/migrate/20200624222443_add_default_branch_name_to_application_settings.rb new file mode 100644 index 00000000000..5da9006e9a0 --- /dev/null +++ b/db/migrate/20200624222443_add_default_branch_name_to_application_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +class AddDefaultBranchNameToApplicationSettings < ActiveRecord::Migration[6.0] + DOWNTIME = false + + # rubocop:disable Migration/AddLimitToTextColumns + # limit is added in db/migrate/20200625190458_add_limit_to_default_branch_name_to_application_settings + def change + add_column :application_settings, :default_branch_name, :text + end + # rubocop:enable Migration/AddLimitToTextColumns +end |