Sha256: f0fffdb16e4ea2590f28b17d8430c426c0c093dc4224c6153b93e64423b15604

Contents?: true

Size: 242 Bytes

Versions: 5

Compression:

Stored size: 242 Bytes

Contents

class AddEffectiveHoursToWorkUnits < ActiveRecord::Migration
  def self.up
    add_column :work_units, :effective_hours, :decimal, :precision => 10, :scale => 2
  end

  def self.down
    remove_column :work_units, :effective_hours
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 db/migrate/20101217152455_add_effective_hours_to_work_units.rb
xrono-1.0.3 db/migrate/20101217152455_add_effective_hours_to_work_units.rb
xrono-1.0.2 db/migrate/20101217152455_add_effective_hours_to_work_units.rb
xrono-1.0.1 db/migrate/20101217152455_add_effective_hours_to_work_units.rb
xrono-1.0.0 db/migrate/20101217152455_add_effective_hours_to_work_units.rb