From faef2e85d191a940782aed2f3142f79c20fab96c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 2 Dec 2016 20:49:30 -0500 Subject: Fix field too small for application settings --- app/Schema/Postgres.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema/Postgres.php') diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 83926f19..082c31eb 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Kanboard\Core\Security\Token; use Kanboard\Core\Security\Role; -const VERSION = 95; +const VERSION = 96; + +function version_96(PDO $pdo) +{ + $pdo->exec('ALTER TABLE "settings" ALTER COLUMN "value" TYPE TEXT'); +} function version_95(PDO $pdo) { -- cgit v1.2.3