diff --git a/api.php b/api.php index 2da17bc9..56c63046 100644 --- a/api.php +++ b/api.php @@ -4366,6 +4366,7 @@ public function __construct(string $driver) 'bit varying' => 'bit', 'box' => 'geometry', 'bytea' => 'blob', + 'bpchar' => 'char', 'character varying' => 'varchar', 'character' => 'char', 'cidr' => 'varchar', @@ -7334,7 +7335,7 @@ class Config 'password' => null, 'database' => null, 'middlewares' => 'cors', - 'controllers' => 'records,openapi', + 'controllers' => 'records,geojson,openapi', 'cacheType' => 'TempFile', 'cachePath' => '', 'cacheTime' => 10, diff --git a/src/Tqdev/PhpCrudApi/Config.php b/src/Tqdev/PhpCrudApi/Config.php index a04f9bec..79660c36 100644 --- a/src/Tqdev/PhpCrudApi/Config.php +++ b/src/Tqdev/PhpCrudApi/Config.php @@ -11,7 +11,7 @@ class Config 'password' => null, 'database' => null, 'middlewares' => 'cors', - 'controllers' => 'records,openapi', + 'controllers' => 'records,geojson,openapi', 'cacheType' => 'TempFile', 'cachePath' => '', 'cacheTime' => 10,