class AddTrainingHoursToShift < ActiveRecord::Migration def change add_column :shifts, :training_hours, :Time, :default => '00:00:00' end def down remove_column :shifts, :training_hours, :Time end end