gitlabhq/db/migrate/20121002150926_create_groups.rb
2012-10-02 18:17:12 +03:00

11 lines
235 B
Ruby

class CreateGroups < ActiveRecord::Migration
def change
create_table :groups do |t|
t.string :name, null: false
t.string :code, null: false
t.integer :owner_id, null: false
t.timestamps
end
end
end