gitlabhq/db/migrate/20121002150926_create_group...

12 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