Sha256: 5241aafab768f165d0a2d98d7f509eb14b377779c2077797376da5edc81ead9f
Contents?: true
Size: 730 Bytes
Versions: 44
Compression:
Stored size: 730 Bytes
Contents
class CreateInclineAccessGroupGroupMembers < ActiveRecord::Migration def change create_table :incline_access_group_group_members do |t| t.integer :group_id, null: false, index: true t.integer :member_id, null: false, index: true t.timestamps null: false end add_index :incline_access_group_group_members, [ :group_id, :member_id ], unique: true, name: 'ux_incline_access_group_group_members' add_foreign_key :incline_access_group_group_members, :incline_access_groups, column: :group_id, name: 'fk_i_access_group_groups_group' add_foreign_key :incline_access_group_group_members, :incline_access_groups, column: :member_id, name: 'fk_i_access_group_groups_member' end end
Version data entries
44 entries across 44 versions & 1 rubygems