Sha256: 7a89674252bdd5375bf2c2f559d4edd2ad0bf85989293647bc6433b716a5fe14
Contents?: true
Size: 688 Bytes
Versions: 44
Compression:
Stored size: 688 Bytes
Contents
class CreateInclineActionGroups < ActiveRecord::Migration def change create_table :incline_action_groups do |t| t.belongs_to :action_security, null: false, index: true t.belongs_to :access_group, null: false, index: true t.timestamps null: false end add_index :incline_action_groups, [ :action_security_id, :access_group_id ], unique: true, name: 'ux_incline_action_groups' add_foreign_key :incline_action_groups, :incline_action_securities, column: :action_security_id, name: 'fk_i_action_groups_security' add_foreign_key :incline_action_groups, :incline_access_groups, column: :access_group_id, name: 'fk_i_action_groups_group' end end
Version data entries
44 entries across 44 versions & 1 rubygems