debian-mirror-gitlab/db/migrate/20220412171810_add_otp_secret_expires_at.rb
2022-06-21 17:19:12 +05:30

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