Sha256: 991efc3251db8893a0c1555014e5b601ba555360d588c653f97c1a6944d26254

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

class CreateAuthzRoleHasBusinessProcesses < ActiveRecord::Migration[5.2]
  def change
    create_table :authz_role_has_business_processes do |t|
      t.references :authz_business_process, foreign_key: true,
                   index: { name: 'authz_rhbp_business_process_index' }
      t.references :authz_role, foreign_key: true,
                   index: { name: 'authz_rhbp_role_index' }

      t.timestamps
    end
    add_index(:authz_role_has_business_processes,
              [:authz_role_id, :authz_business_process_id],
              unique: true,
              name: 'authz_rhpb_role_bp')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authz-0.0.5 db/migrate/20181129220317_create_authz_role_has_business_processes.rb
authz-0.0.4 db/migrate/20181129220317_create_authz_role_has_business_processes.rb
authz-0.0.3 db/migrate/20181129220317_create_authz_role_has_business_processes.rb