Sha256: c7631e1f3899a6dbf119c6113e448f3b465b396969f02c704e8d3e09ec424fe9
Contents?: true
Size: 1.15 KB
Versions: 6
Compression:
Stored size: 1.15 KB
Contents
class CreateAuthzBusinessProcessHasControllerActions < ActiveRecord::Migration[5.2] def change # create_table :authz_business_process_has_controller_actions do |t| # t.integer :controller_action_id, index: { name: 'authz_bphca_controller_action_index' } # t.integer :business_process_id, index: { name: 'authz_bphca_business_process_index' } # # t.timestamps # end # # add_foreign_key :authz_business_process_has_controller_actions, # :authz_controller_actions, # column: :controller_action_id # # add_foreign_key :authz_business_process_has_controller_actions, # :authz_business_processes, # column: :business_process_id 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 end end
Version data entries
6 entries across 6 versions & 1 rubygems