Sha256: acda12f816a3a82f280be6ab7c13c055b5a181106ca2da1c9c2beef0b44b3a50

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

class AddTotalYearlyPtoPerUserToSiteSettings < ActiveRecord::Migration
  def self.up
    add_column :site_settings, :total_yearly_pto_per_user, :decimal, :precision => 10, :scale => 2
  end

  def self.down
    remove_column :site_settings, :total_yearly_pto_per_user
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 db/migrate/20110111155513_add_total_yearly_pto_per_user_to_site_settings.rb
xrono-1.0.3 db/migrate/20110111155513_add_total_yearly_pto_per_user_to_site_settings.rb
xrono-1.0.2 db/migrate/20110111155513_add_total_yearly_pto_per_user_to_site_settings.rb
xrono-1.0.1 db/migrate/20110111155513_add_total_yearly_pto_per_user_to_site_settings.rb
xrono-1.0.0 db/migrate/20110111155513_add_total_yearly_pto_per_user_to_site_settings.rb