socialforge/db/migrate/20090503121501_create_membe...

13 lines
274 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class CreateMemberRoles < ActiveRecord::Migration
def self.up
create_table :member_roles do |t|
t.column :member_id, :integer, :null => false
t.column :role_id, :integer, :null => false
end
end
def self.down
drop_table :member_roles
end
end