From 8df95a653f9a05671f9220aafacae1c5f8a2cb5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florencio=20Hern=C3=A1ndez?= Date: Thu, 1 Aug 2024 11:28:03 +0100 Subject: [PATCH] Bug #1084 Fix issue with long avatar images URL --- ...ChangeAvatarColumnTypeInSocialAccounts.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config/Migrations/20240801112143_ChangeAvatarColumnTypeInSocialAccounts.php diff --git a/config/Migrations/20240801112143_ChangeAvatarColumnTypeInSocialAccounts.php b/config/Migrations/20240801112143_ChangeAvatarColumnTypeInSocialAccounts.php new file mode 100644 index 00000000..0fb638b8 --- /dev/null +++ b/config/Migrations/20240801112143_ChangeAvatarColumnTypeInSocialAccounts.php @@ -0,0 +1,24 @@ +table('social_accounts'); + $table->changeColumn('avatar', 'text', [ + 'default' => null, + 'null' => true, + ]); + $table->update(); + } +}