Sha256: c70bb5411e06c765cca2ca146707639fe14d8a634931325e1797a45d560901ab

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

class CreateAccessGroupUserMembers < ActiveRecord::Migration
  def change
    create_table :access_group_user_members do |t|
      t.integer   :group_id,    null: false,    index: true
      t.integer   :member_id,   null: false,    index: true
    end
    add_index :access_group_user_members, [:group_id, :member_id], unique: true, name: :unique_access_group_user_members
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
barkest_core-1.5.4.0 db/migrate/20160622151720_create_access_group_user_members.rb
barkest_core-1.5.3.0 db/migrate/20160622151720_create_access_group_user_members.rb