From 106432493345cdd8fbe3f4da15d5fdedce79973e Mon Sep 17 00:00:00 2001 From: Matthieu Keromen Date: Sun, 7 Nov 2021 15:29:40 -0500 Subject: [PATCH] Replace sql type text by longtext for profile field in PdoRepository to avoid truncated stack trace --- src/Db/PdoRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/PdoRepository.php b/src/Db/PdoRepository.php index d4016bca..3d82d047 100644 --- a/src/Db/PdoRepository.php +++ b/src/Db/PdoRepository.php @@ -180,7 +180,7 @@ public function initSchema(): void $this->pdo->exec(sprintf(' CREATE TABLE IF NOT EXISTS %s ( "id" CHAR(24) PRIMARY KEY, - "profile" TEXT NOT NULL, + "profile" LONGTEXT NOT NULL, "url" TEXT NULL, "SERVER" TEXT NULL, "GET" TEXT NULL,