gitlabhq/db/migrate/20121002150926_create_groups.rb

12 lines
235 B
Ruby
Raw Normal View History

2012-10-02 17:17:12 +02:00
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