[#4604] Add basic caching for TimeEntry#cost
This commit is contained in:
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
|
||||
Reference in new issue
Block a user