Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220808133824_add_timestamps_to_project_statistics.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5125ebc8ff5e7ce9bec8c917c4d0e8034517926 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class AddTimestampsToProjectStatistics < Gitlab::Database::Migration[2.0]
  def change
    add_timestamps_with_timezone(:project_statistics, null: false, default: -> { 'NOW()' })
  end
end