Sha256: c34edac76acfcf05cab6e48ddbc63fd820d0e0f8390854e81e8af1b360e35f89

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

class CreateSocialFrameworkParticipantEvents < ActiveRecord::Migration
  def change
    create_table :social_framework_participant_events do |t|
      t.belongs_to :event, index: true, null: false
      t.belongs_to :schedule, index: true, null: false
      t.boolean :confirmed, default: false
      t.string :role, default: "participant"
    end
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
social_framework-0.0.3 db/migrate/20160406165523_create_social_framework_participant_events.rb
social_framework-0.0.3 db/tmp/migrate/20160406165523_create_social_framework_participant_events.rb
social_framework-0.0.2 db/migrate/20160406165523_create_social_framework_participant_events.rb
social_framework-0.0.2 db/tmp/migrate/20160406165523_create_social_framework_participant_events.rb