Sha256: ca919ba6268bdf623412805dc3c9c30e112171a6627ccd7c0d47cd7fc0f34c80

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150210165627_add_training_hours_to_shift.rb
pshq_engine-0.1.5 db/migrate/20150210165627_add_training_hours_to_shift.rb
pshq_engine-0.0.1 db/migrate/20150210165627_add_training_hours_to_shift.rb