debian-mirror-gitlab/db/migrate/20130617095603_create_users_groups.rb
2017-01-15 13:20:01 +05:30

14 lines
301 B
Ruby

# rubocop:disable all
class CreateUsersGroups < ActiveRecord::Migration
DOWNTIME = false
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