db/migrate/20190622161291_create_participatory_texts.decidim_proposals.rb
# frozen_string_literal: true
# This migration comes from decidim_proposals (originally 20180927111721)
class CreateParticipatoryTexts < ActiveRecord::Migration[5.2]
def change
create_table :decidim_proposals_participatory_texts do |t|
t.jsonb :title
t.jsonb :description
t.belongs_to :decidim_component, null: false, index: { name: "idx_participatory_texts_on_decidim_component_id" }
t.timestamps
end
end
end