Sha256: 8b30a72ebcf18e407450196e22cf46a32e44e678aa7bff539432eac5f5f657bc
Contents?: true
Size: 630 Bytes
Versions: 25
Compression:
Stored size: 630 Bytes
Contents
# frozen_string_literal: true class CreateDecidimParticipatoryProcessTypes < ActiveRecord::Migration[6.0] def change create_table :decidim_participatory_process_types do |t| t.jsonb :title, null: false t.references( :decidim_organization, foreign_key: true, index: { name: "index_decidim_process_types_on_decidim_organization_id" } ) t.timestamps end add_reference( :decidim_participatory_processes, :decidim_participatory_process_type, foreign_key: true, index: { name: "index_decidim_processes_on_decidim_process_type_id" } ) end end
Version data entries
25 entries across 25 versions & 1 rubygems