Sha256: f76513f179c3165982a0e185c54cb2899d6bda0b2cd0427fb0b45765faa09fe7
Contents?: true
Size: 718 Bytes
Versions: 44
Compression:
Stored size: 718 Bytes
Contents
class CreateInclineAccessGroupUserMembers < ActiveRecord::Migration def change create_table :incline_access_group_user_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_user_members, [ :group_id, :member_id ], unique: true, name: 'ux_incline_access_group_user_members' add_foreign_key :incline_access_group_user_members, :incline_access_groups, column: :group_id, name: 'fk_i_access_group_users_group' add_foreign_key :incline_access_group_user_members, :incline_users, column: :member_id, name: 'fk_i_access_group_users_member' end end
Version data entries
44 entries across 44 versions & 1 rubygems