Sha256: 85952c2ef7d92ecd636b755aded62c890cbd4c92a3e804956906afe25085b550

Contents?: true

Size: 409 Bytes

Versions: 38

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

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

38 entries across 38 versions & 2 rubygems

Version Path
decidim-results-0.6.8 db/migrate/20170116104125_create_results.rb
decidim-0.6.8 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.7 db/migrate/20170116104125_create_results.rb
decidim-0.6.7 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.6 db/migrate/20170116104125_create_results.rb
decidim-0.6.6 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.5 db/migrate/20170116104125_create_results.rb
decidim-0.6.5 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.4 db/migrate/20170116104125_create_results.rb
decidim-0.6.4 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.3 db/migrate/20170116104125_create_results.rb
decidim-0.6.3 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.2 db/migrate/20170116104125_create_results.rb
decidim-0.6.2 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.1 db/migrate/20170116104125_create_results.rb
decidim-0.6.1 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.6.0 db/migrate/20170116104125_create_results.rb
decidim-0.6.0 decidim-results/db/migrate/20170116104125_create_results.rb
decidim-results-0.5.1 db/migrate/20170116104125_create_results.rb
decidim-0.5.1 decidim-results/db/migrate/20170116104125_create_results.rb