Skip to content

Commit

Permalink
Merge 10e18ed into f106aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
JanRossler committed Oct 22, 2021
2 parents f106aaa + 10e18ed commit fd10df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dibi/Drivers/PostgreReflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getColumns(string $table): array
a.atttypmod-4 AS character_maximum_length,
NOT a.attnotnull AS is_nullable,
a.attnum AS ordinal_position,
adef.adsrc AS column_default
pg_get_expr(adef.adbin, adef.adrelid) AS column_default
FROM
pg_attribute a
JOIN pg_type ON a.atttypid = pg_type.oid
Expand Down

0 comments on commit fd10df3

Please sign in to comment.