socialforge/db/migrate/20151103011119_create_org_m...

12 lines
216 B
Ruby
Raw Normal View History

2015-11-02 17:22:09 +08:00
class CreateOrgMembers < ActiveRecord::Migration
def change
2015-11-02 17:22:09 +08:00
create_table :org_members do |t|
t.integer :user_id
t.integer :organization_id
t.string :role
t.timestamps
2015-11-02 17:22:09 +08:00
end
end
end