debian-mirror-gitlab/db/migrate/20220808133824_add_timestamps_to_project_statistics.rb
2022-08-27 11:52:29 +05:30

7 lines
220 B
Ruby

# 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