11 lines
210 B
Ruby
11 lines
210 B
Ruby
class AddSpentAtToTimelogs < ActiveRecord::Migration
|
|
DOWNTIME = false
|
|
|
|
def up
|
|
add_column :timelogs, :spent_at, :datetime_with_timezone
|
|
end
|
|
|
|
def down
|
|
remove_column :timelogs, :spent_at
|
|
end
|
|
end
|