summaryrefslogtreecommitdiff
path: root/db/post_migrate/20230223014251_validate_not_null_constraint_on_oauth_access_tokens_expires_in.rb
blob: b5085d24ab19b1dc7fbb75fb00f2032b099d4bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class ValidateNotNullConstraintOnOauthAccessTokensExpiresIn < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    validate_not_null_constraint :oauth_access_tokens, :expires_in
  end

  def down
    # no-op
  end
end