Sha256: 7c9e85e4dc495129d98531ac72a11cec755b7c9f637d8b5333dc37a7855b7f53

Contents?: true

Size: 378 Bytes

Versions: 15

Compression:

Stored size: 378 Bytes

Contents

class CreateResults < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_results_results do |t|
      t.jsonb :title
      t.jsonb :description
      t.jsonb :short_description
      t.references :decidim_feature, index: true
      t.references :decidim_scope, index: true
      t.references :decidim_category, index: true

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
decidim-results-0.2.0 db/migrate/20170116104125_create_results.rb
decidim-0.2.0 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.1.0 db/migrate/20170116104125_create_results.rb
decidim-0.1.0 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.0.8.1 db/migrate/20170116104125_create_results.rb
decidim-0.0.8.1 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.0.7 db/migrate/20170116104125_create_results.rb
decidim-0.0.7 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.0.6 db/migrate/20170116104125_create_results.rb
decidim-0.0.6 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.0.5 db/migrate/20170116104125_create_results.rb
decidim-0.0.5 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-0.0.4 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.0.3 db/migrate/20170116104125_create_results.rb
decidim-0.0.3 decidim-results/db/migrate/20170116104125_create_results.rb