diff options
Diffstat (limited to 'db/migrate/20200526193555_add_squash_option_to_project.rb')
-rw-r--r-- | db/migrate/20200526193555_add_squash_option_to_project.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20200526193555_add_squash_option_to_project.rb b/db/migrate/20200526193555_add_squash_option_to_project.rb new file mode 100644 index 00000000000..6dd4e1c7c8e --- /dev/null +++ b/db/migrate/20200526193555_add_squash_option_to_project.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddSquashOptionToProject < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column :project_settings, :squash_option, :integer, default: 3, limit: 2 + end +end |