mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-16 15:57:22 +00:00
8 lines
203 B
Ruby
8 lines
203 B
Ruby
# 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
|