Sha256: 193a1dd48f79dbce63426cfcdd5756a970106c4bdb0d6498edaf8e3c5f74d2c3

Contents?: true

Size: 278 Bytes

Versions: 16

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

class AddAnswerLengthToDecidimPlansSections < ActiveRecord::Migration[5.2]
  def up
    add_column :decidim_plans_sections, :answer_length, :integer, default: 0
  end

  def down
    remove_column :decidim_plans_sections, :answer_length
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
decidim-plans-0.18.2 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.18.1 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.18.0 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.17.0 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.9 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.8 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.7 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.6 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.5 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.4 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.3 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.2 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.1 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.16.0 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.15.1 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb
decidim-plans-0.15.0 db/migrate/20190129231439_add_answer_length_to_decidim_plans_sections.rb