Skip to content

Commit

Permalink
fix for postgres12+ compatibility (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwong-dayspring authored Dec 21, 2022
1 parent 2b3b873 commit 1309769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/lib/reverse/pgsql/PgsqlSchemaParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function addColumns(Table $table, $oid, $version)
att.atttypmod,
att.atthasdef,
att.attnotnull,
def.adsrc,
pg_get_expr(def.adbin, def.adrelid) as adsrc,
CASE WHEN att.attndims > 0 THEN 1 ELSE 0 END AS isarray,
CASE
WHEN ty.typname = 'bpchar'
Expand Down

0 comments on commit 1309769

Please sign in to comment.