Sha256: a930e2f42db6a7110df16da4588c5991ae3f09b2b16602eb263764a6ead60221

Contents?: true

Size: 302 Bytes

Versions: 9

Compression:

Stored size: 302 Bytes

Contents

class AddCategories < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_categories do |t|
      t.jsonb :name, null: false
      t.jsonb :description, null: false
      t.integer :parent_id, index: true
      t.integer :decidim_participatory_process_id, index: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20161123085134_add_categories.rb
decidim-core-0.1.0 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.8.1 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.7 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.6 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.5 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.3 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.2 db/migrate/20161123085134_add_categories.rb
decidim-core-0.0.1 db/migrate/20161123085134_add_categories.rb