db/migrate/20180509103060_add_categories.decidim.rb
# frozen_string_literal: true
# This migration comes from decidim (originally 20161123085134)
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