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

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

class AddUpdatedAtToPlanLimits < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def change
    add_column :plan_limits, :updated_at, :datetime_with_timezone, null: false, default: -> { 'NOW()' }
  end
end