summaryrefslogtreecommitdiff
path: root/db/migrate/20111122172513_create_conference_invitees.rb
blob: 3ec293ea6fab0cff6a923a3a927892c2c7ca0468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateConferenceInvitees < ActiveRecord::Migration
  def self.up
    create_table :conference_invitees do |t|
      t.integer :conference_id
      t.integer :phone_book_entry_id
      t.string :pin
      t.boolean :speaker
      t.boolean :moderator
      t.timestamps
    end
  end

  def self.down
    drop_table :conference_invitees
  end
end