From 80048c091a13d2bae9b72497d306e1acf4046be4 Mon Sep 17 00:00:00 2001
From: Viktor Kuzmin <kvaster@gmail.com>
Date: Tue, 1 Feb 2022 08:40:23 +0300
Subject: [PATCH] Fix for AvatarURL database type (#18487)

---
 models/user/external_login_user.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/user/external_login_user.go b/models/user/external_login_user.go
index 8cf7c652b1..d1abe292f5 100644
--- a/models/user/external_login_user.go
+++ b/models/user/external_login_user.go
@@ -60,7 +60,7 @@ type ExternalLoginUser struct {
 	LastName          string
 	NickName          string
 	Description       string
-	AvatarURL         string
+	AvatarURL         string `xorm:"TEXT"`
 	Location          string
 	AccessToken       string `xorm:"TEXT"`
 	AccessTokenSecret string `xorm:"TEXT"`