Sha256: c337b2599e48ac9244560d2cd34c952be9fa2f67703a754eddd4044d9440774e

Contents?: true

Size: 332 Bytes

Versions: 26

Compression:

Stored size: 332 Bytes

Contents

class CreateAttendees < ActiveRecord::Migration
  def self.up
    create_table :event_calendar_attendees do |t|
      t.integer :event_id
      t.integer :participant_id
      t.string :participant_type
      t.string :role
      
      t.timestamps
    end
  end

  def self.down
    drop_table :event_calendar_attendees
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
event_calendar_engine-0.2.15 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.14 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.13 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.11 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.10 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.8 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.7 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.6 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.5 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.4 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.3 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.2 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.1 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.2.0 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.11 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.10 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.9 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.8 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.7 db/migrate/20101011172027_create_attendees.rb
event_calendar_engine-0.1.6 db/migrate/20101011172027_create_attendees.rb