Sha256: b4b87ebf38c046d9821a3817ca5622e34e81992cc412acb1719ba2f2e422a98f

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

class CreateTemplateTexts < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_accountability_template_texts do |t|
      t.jsonb :intro
      t.jsonb :categories_label
      t.jsonb :subcategories_label
      t.jsonb :heading_parent_level_results
      t.jsonb :heading_leaf_level_results
      t.references :decidim_feature, index: { name: :decidim_accountability_template_texts_on_feature_id }

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.1.2 db/migrate/20170508161109_create_template_texts.rb
decidim-accountability-0.1.1 db/migrate/20170508161109_create_template_texts.rb
decidim-accountability-0.1.0 db/migrate/20170508161109_create_template_texts.rb