Sha256: 0e7291ea1ddf3ddd800245223b19b4d323c15c01fd99ad047823d0468f2e04a6
Contents?: true
Size: 736 Bytes
Versions: 89
Compression:
Stored size: 736 Bytes
Contents
# frozen_string_literal: true class CreateDecidimModuleSortitionsSortitions < ActiveRecord::Migration[5.1] def change create_table :decidim_module_sortitions_sortitions do |t| t.references :decidim_feature, index: { name: "index_sortitions__on_feature" } t.references :decidim_category, foreign_key: true, index: { name: "index_sortitions__on_category" } t.integer :decidim_proposals_feature_id, index: { name: "index_sortitions__on_proposals_feature" } t.integer :dice, null: false t.integer :target_items, null: false t.timestamp :request_timestamp, null: false t.jsonb :selected_proposals t.timestamps end end end
Version data entries
89 entries across 89 versions & 1 rubygems