Make json and jsonb data types display as textarea rather than 1 line input fields...
authorRobert Treat <rob@xzilla.net>
Sun, 1 Feb 2015 19:31:07 +0000 (14:31 -0500)
committerRobert Treat <rob@xzilla.net>
Sun, 1 Feb 2015 19:31:07 +0000 (14:31 -0500)
classes/database/Postgres.php

index 310f49c7f8ee0073476545c6dbd7e43ac777a7e7..b31bc03672a70708804a1391e6757ffcc12b50fc 100755 (executable)
@@ -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");