summaryrefslogtreecommitdiffstats
path: root/db/migrate/20090503121501_create_member_roles.rb
blob: 38519ea7cdf8ec3059c704f3d5bfaea508736769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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