Sha256: 6e466f1a974a517ac681afab710489b528ea736ff985c882b45fca5f1ec74121
Contents?: true
Size: 565 Bytes
Versions: 45
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true class CreateDecidimElectionsTrusteesParticipatorySpaces < ActiveRecord::Migration[5.2] def change create_table :decidim_elections_trustees_participatory_spaces do |t| t.references :participatory_space, polymorphic: true, index: { name: "index_elections_trustees_spaces_on_space_type_and_id" } t.references :decidim_elections_trustee, null: false, index: { name: "index_elections_trustees_spaces_on_elections_trustee_id" } t.boolean :considered, null: false, default: true t.timestamps end end end
Version data entries
45 entries across 45 versions & 1 rubygems