Group entity. Group has many projects

This commit is contained in:
Dmitriy Zaporozhets 2012-10-02 18:17:12 +03:00
parent 2e1c3c52bc
commit fa3ae24ca7
8 changed files with 116 additions and 1 deletions

View file

@ -0,0 +1,11 @@
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