db/migrate/20180509103289_create_decidim_blogs_posts.decidim_blogs.rb
# frozen_string_literal: true
# This migration comes from decidim_blogs (originally 20171129131353)
class CreateDecidimBlogsPosts < ActiveRecord::Migration[5.0]
def change
create_table :decidim_blogs_posts do |t|
t.jsonb :title
t.jsonb :body
t.references :decidim_component, index: true
t.timestamps
end
end
end