Sha256: 701440f16a0da26c2525ea74b01b76f5c02f1d7afd5bfc26e473810145300798

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

class AddParticipatoryProcessGroups < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_participatory_process_groups do |t|
      t.jsonb :name, null: false
      t.jsonb :description, null: false
      t.string :hero_image

      t.references :decidim_organization, index: { name: "decidim_participatory_process_group_organization" }

      t.timestamps
    end

    add_column :decidim_participatory_processes, :decidim_participatory_process_group_id, :integer
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20170228142440_add_participatory_process_groups.rb
decidim-core-0.1.0 db/migrate/20170228142440_add_participatory_process_groups.rb
decidim-core-0.0.8.1 db/migrate/20170228142440_add_participatory_process_groups.rb
decidim-core-0.0.7 db/migrate/20170228142440_add_participatory_process_groups.rb
decidim-core-0.0.6 db/migrate/20170228142440_add_participatory_process_groups.rb