Sha256: 89765a5b9ceb350bf9ac260e8e2f12af079066bb77dac638f017a5cbb3bd8dc7

Contents?: true

Size: 723 Bytes

Versions: 3

Compression:

Stored size: 723 Bytes

Contents

class CreateAuthzBusinessProcessHasControllerActions < ActiveRecord::Migration[5.2]
  def change
    create_table :authz_business_process_has_controller_actions do |t|
      t.references :authz_controller_action,
                   index: { name: 'authz_bphca_controller_action_index' },
                   foreign_key: true

      t.references :authz_business_process,
                   index: { name: 'authz_bphca_business_process_index' },
                   foreign_key: true

      t.timestamps
    end
    add_index(:authz_business_process_has_controller_actions,
              [:authz_business_process_id, :authz_controller_action_id],
              unique: true,
              name: 'authz_bphca_bp_ca')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authz-0.0.5 db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb
authz-0.0.4 db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb
authz-0.0.3 db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb