From 2381a61cb80a904cbb7841f4c6520efbb694d787 Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Sun, 19 May 2024 13:22:21 +0200 Subject: [PATCH] feat/upgrade_simple_proposal: add a migration to include new attributes, require_category and require_scope --- .../20240519110747_add_require_fields_to_proposals.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20240519110747_add_require_fields_to_proposals.rb diff --git a/db/migrate/20240519110747_add_require_fields_to_proposals.rb b/db/migrate/20240519110747_add_require_fields_to_proposals.rb new file mode 100644 index 0000000..0794458 --- /dev/null +++ b/db/migrate/20240519110747_add_require_fields_to_proposals.rb @@ -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