BigW Consortium Gitlab

20130617095603_create_users_groups.rb 312 Bytes
Newer Older
1
# rubocop:disable all
2
class CreateUsersGroups < ActiveRecord::Migration
3 4
  DOWNTIME = false

5 6 7 8 9 10
  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

11
      t.timestamps null: true
12 13 14
    end
  end
end