gitlab-org--gitlab-foss/db/migrate/20220412171810_add_otp_secret_expires_at.rb

11 lines
323 B
Ruby

# frozen_string_literal: true
class AddOtpSecretExpiresAt < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def change
# rubocop: disable Migration/AddColumnsToWideTables
add_column :users, :otp_secret_expires_at, :datetime_with_timezone
# rubocop: enable Migration/AddColumnsToWideTables
end
end