Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20130617095603_create_users_groups.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2efc04f1151e04ffa5f80f8952113d9ec73a749a (plain)
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