BigW Consortium Gitlab

20130617095603_create_users_groups.rb 259 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
class CreateUsersGroups < ActiveRecord::Migration
  def change
    create_table :users_groups do |t|
      t.integer :group_access, null: false
      t.integer :group_id, null: false
      t.integer :user_id, null: false

      t.timestamps
    end
  end
end