Sha256: 2ec0058ac36eb03b12fed3871aaa82cf71a3e8d4870b8829a28a86a670984a7d
Contents?: true
Size: 557 Bytes
Versions: 142
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true class AddAdminParticipatoryProcessUserRoles < ActiveRecord::Migration[5.0] def change create_table :decidim_admin_participatory_process_user_roles do |t| t.integer :decidim_user_id t.integer :decidim_participatory_process_id t.string :role t.timestamps end add_index :decidim_admin_participatory_process_user_roles, [:decidim_participatory_process_id, :decidim_user_id, :role], unique: true, name: "index_unique_user_and_process_role" end end
Version data entries
142 entries across 142 versions & 2 rubygems