From a6819d7fbb1decf1a00c479d58c7d6f484838257 Mon Sep 17 00:00:00 2001 From: Robert Treat Date: Sun, 1 Feb 2015 14:31:07 -0500 Subject: [PATCH] Make json and jsonb data types display as textarea rather than 1 line input fields. Inspired by patch from Felipe Figueroa --- classes/database/Postgres.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php index 310f49c7..b31bc036 100755 --- a/classes/database/Postgres.php +++ b/classes/database/Postgres.php @@ -275,6 +275,8 @@ class Postgres extends ADODB_base { } case 'text': case 'text[]': + case 'json': + case 'jsonb': case 'xml': case 'xml[]': $n = substr_count($value, "\n"); -- 2.39.5