Sha256: 7958c437037be089845dfb69524376745dcea11274b0d3174f5839bc835061d2

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

class CreateApptAppointments < ActiveRecord::Migration
  def change
    create_table :appt_appointments do |t|
      t.integer :calendar_id
      t.date :day, null: false
      t.string :start, null: false
      t.string :end, null: false
      t.string :email
      t.string :firstname
      t.string :lastname
      t.string :phone

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appt-0.0.1.beta.3 db/migrate/20150804003846_create_appt_appointments.rb