summaryrefslogtreecommitdiff
path: root/db/migrate/20211105125813_add_read_at_to_dependency_proxy_blobs.rb
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