debian-mirror-gitlab/db/migrate/20220412171810_add_otp_secret_expires_at.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
323 B
Ruby
Raw Normal View History

2022-06-21 17:19:12 +05:30
# 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