13 lines
274 B
Ruby
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
|