[#4604] Add basic caching for TimeEntry#cost

This commit is contained in:
Eric Davis committed 2010-10-06 12:12:45 -07:00
1 parent cec35ad3af
commit dbfc6c5335
3 files changed
+66 -8

No files matched your search

@@ -0,0 +1,9 @@
class AddCostToTimeEntries < ActiveRecord::Migration
def self.up
add_column :time_entries, :cost, :decimal, :precision => 15, :scale => 2
end
def self.down
remove_column :time_entries, :cost
end
end