1
0
mirror of https://github.com/fspc/bike-database.git synced 2025-04-04 10:03:22 -04:00
bike-database/db/migrate/20140923000417_add_fields_to_client.rb
2014-09-22 20:20:06 -04:00

11 lines
372 B
Ruby

class AddFieldsToClient < ActiveRecord::Migration
def change
add_column(:clients, :notes, :text)
add_column(:clients, :bike_fixed, :boolean)
add_column(:clients, :number_of_calls, :integer)
add_column(:clients, :application_voided, :boolean)
add_column(:clients, :pickup_date, :date)
add_column(:clients, :volunteer_at_pickup, :string)
end
end