debian-mirror-gitlab/db/migrate/20130617095603_create_users_groups.rb
2017-08-17 22:00:37 +05:30

14 lines
312 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 null: true
end
end
end