DEV: Increases external avatar url limit (#28893)

We recently increased it to 1500 but that was not enough: 113e6fd274
This commit is contained in:
Joffrey JAFFEUX 2024-09-13 01:08:01 +02:00 committed by GitHub
parent a99e2c62e6
commit ad90b9cfd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ end
# external_username :string
# external_email :string
# external_name :string
# external_avatar_url :string(1500)
# external_avatar_url :string(2000)
# external_profile_background_url :string
# external_card_background_url :string
#

View File

@ -0,0 +1,6 @@
# frozen_string_literal: true
class IncreaseExternalAvatarUrlLimitTo2000 < ActiveRecord::Migration[7.1]
def change
change_column :single_sign_on_records, :external_avatar_url, :string, limit: 2000
end
end