Sha256: 3f910c88f3622e84793d814cdf88f9913079d644febddcc78de2a622556cb56d

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 Bytes

Contents

# Creates the table for the conference model.
# origin: M
class CreateConference < ActiveRecord::Migration

  def self.up
    create_table :conferences do |t|
      t.string :name
      t.text :description
      t.text :address
      t.date :start_date
      t.date :end_date
      t.integer :user_id
    end
  end

  def self.down
    drop_table :conferences
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serum-rails-0.2.1 spec/test_apps/rails-2-3/db/migrate/20110118092741_create_conference.rb
serum-rails-0.2.0 spec/test_apps/rails-2-3/db/migrate/20110118092741_create_conference.rb
serum-rails-0.1.1 spec/test_app/db/migrate/20110118092741_create_conference.rb
serum-rails-0.1.0 spec/test_app/db/migrate/20110118092741_create_conference.rb