From 42121174bd24209421de1282c6a14588db6c1d6d Mon Sep 17 00:00:00 2001 From: Alexandru Emil Lupu Date: Fri, 19 Apr 2024 00:03:32 +0300 Subject: [PATCH] Fix migration for Decidim 0.27 (#37) --- db/migrate/20231102234909_create_default_proposal_states.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20231102234909_create_default_proposal_states.rb b/db/migrate/20231102234909_create_default_proposal_states.rb index e435d75..d1fba18 100644 --- a/db/migrate/20231102234909_create_default_proposal_states.rb +++ b/db/migrate/20231102234909_create_default_proposal_states.rb @@ -12,7 +12,7 @@ class Proposal < ApplicationRecord end def up - return unless Decidim.version.to_s.include?("0.26") + return unless Decidim.version.to_s.include?("0.27") states = { "0" => :not_answered,