Sha256: 09ceb59a96526c6eadcfeea068b87722882a377d9bde05e5037588e21f73fd37
Contents?: true
Size: 502 Bytes
Versions: 19
Compression:
Stored size: 502 Bytes
Contents
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
19 entries across 19 versions & 2 rubygems