Skip to content

Commit

Permalink
Replace sql type text by longtext for profile field in PdoRepository …
Browse files Browse the repository at this point in the history
…to avoid truncated stack trace
  • Loading branch information
Matthieu Keromen committed Nov 7, 2021
1 parent 829febc commit ed8d2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Db/PdoRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,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,
Expand Down

0 comments on commit ed8d2ae

Please sign in to comment.