obsolete.ChilliProject/db/migrate/20090503121501_create_membe...

13 lines
274 B
Ruby

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