mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:06:26 +08:00
DEV: Increases external avatar url limit (#28893)
We recently increased it to 1500 but that was not enough: 113e6fd274
This commit is contained in:
parent
a99e2c62e6
commit
ad90b9cfd1
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user