Sha256: 24e89fceea62a623a2635b9d7359221e2050f266701726cd889d39b7cac3dcf4

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

class CreateAppointments < ActiveRecord::Migration
  def self.up
    create_table :appointments do |t|
      t.string :subject
      t.datetime :time

      t.timestamps
    end
  end

  def self.down
    drop_table :appointments
  end
end

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
admin_assistant-2.1.0 rails_3_0/db/migrate/20091222160814_create_appointments.rb
admin_assistant-2.0.1 rails_2_test/db/migrate/20091222160814_create_appointments.rb
admin_assistant-2.0.1 rails_3_test/db/migrate/20091222160814_create_appointments.rb
admin_assistant-1.0.1 test_rails_app/db/migrate/20091222160814_create_appointments.rb