Skip to content

Commit 77bd40b

Browse files
authored
add json to native pgsql type (#1631)
1 parent a91e40e commit 77bd40b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Propel/Generator/Reverse/PgsqlSchemaParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class PgsqlSchemaParser extends AbstractSchemaParser
7272
'timestamp without time zone' => PropelTypes::TIMESTAMP,
7373
'timestamp with time zone' => PropelTypes::TIMESTAMP,
7474
'double precision' => PropelTypes::DOUBLE,
75+
'json' => PropelTypes::JSON,
7576
];
7677

7778
protected static $defaultTypeSizes = [

0 commit comments

Comments
 (0)