diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb index b9232f055..f7ec1cd9b 100644 --- a/db/dev_seeds.rb +++ b/db/dev_seeds.rb @@ -9,6 +9,7 @@ Setting.create(key: 'official_level_3_name', value: 'Directores generales') Setting.create(key: 'official_level_4_name', value: 'Concejales') Setting.create(key: 'official_level_5_name', value: 'Alcaldesa') Setting.create(key: 'max_ratio_anon_votes_on_debates', value: '50') +Setting.create(key: 'max_votes_for_debate_edit', value: '1000') Setting.create(key: 'max_votes_for_proposal_edit', value: '1000') Setting.create(key: 'proposal_code_prefix', value: 'MAD') Setting.create(key: 'votes_for_proposal_success', value: '100') @@ -198,8 +199,3 @@ puts "Confirming hiding in debates, comments & proposals" Comment.only_hidden.flagged.reorder("RANDOM()").limit(10).each(&:confirm_hide) Debate.only_hidden.flagged.reorder("RANDOM()").limit(5).each(&:confirm_hide) Proposal.only_hidden.flagged.reorder("RANDOM()").limit(5).each(&:confirm_hide) - - - - - diff --git a/db/seeds.rb b/db/seeds.rb index f74e1abb7..cef67b0f6 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -15,12 +15,12 @@ Setting.create(key: 'official_level_5_name', value: 'Alcaldesa') # Max percentage of allowed anonymous votes on a debate Setting.create(key: 'max_ratio_anon_votes_on_debates', value: '50') -# Max votes where a proposal is still editable -Setting.create(key: 'max_votes_for_proposal_edit', value: '1000') - # Max votes where a debate is still editable Setting.create(key: 'max_votes_for_debate_edit', value: '1000') +# Max votes where a proposal is still editable +Setting.create(key: 'max_votes_for_proposal_edit', value: '1000') + # Prefix for the Proposal codes Setting.create(key: 'proposal_code_prefix', value: 'MAD')