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

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

class AddReadAtToDependencyProxyBlobs < Gitlab::Database::Migration[1.0]
  def change
    add_column :dependency_proxy_blobs, :read_at, :datetime_with_timezone, null: false, default: -> { 'NOW()' }
  end
end