Skip to content

Commit

Permalink
feat/upgrade_simple_proposal: add a migration to include new attribut…
Browse files Browse the repository at this point in the history
…es, require_category and require_scope
  • Loading branch information
BarbaraOliveira13 committed May 19, 2024
1 parent e7ca591 commit 2381a61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/migrate/20240519110747_add_require_fields_to_proposals.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddRequireFieldsToProposals < ActiveRecord::Migration[6.1]
def change
add_column :decidim_proposals_proposals, :require_category, :boolean
add_column :decidim_proposals_proposals, :require_scope, :boolean
end
end

0 comments on commit 2381a61

Please sign in to comment.