fix: change error

This commit is contained in:
yystopf 2022-06-20 10:34:25 +08:00
parent 45b7f70d9f
commit bed2469014
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ GEM
activerecord (>= 3.1.0, < 7)
diff-lcs (1.3)
diffy (3.3.0)
doorkeeper (5.5.4)
doorkeeper (5.5.1)
railties (>= 5)
doorkeeper-jwt (0.4.1)
jwt (>= 2.1)

View File

@ -1,5 +1,5 @@
class ChangeOauthAccessTokensTokenColumnLength < ActiveRecord::Migration[5.2]
def change
change_column :oauth_access_tokens, :token, :string, limit: 500
change_column :oauth_access_tokens, :token, :text
end
end