blob: f90b19b5f68983707014baa65f0ad20eefe9fb11 (
plain)
1
2
3
4
5
6
7
|
# frozen_string_literal: true
class UpdateTimelogsSpentAtDefault < Gitlab::Database::Migration[1.0]
def change
change_column_default(:timelogs, :spent_at, from: nil, to: -> { 'NOW()' })
end
end
|