10 lines
216 B
Ruby
10 lines
216 B
Ruby
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
|