Skip to content

Commit

Permalink
Merge pull request #8 from mathieutu/main-1
Browse files Browse the repository at this point in the history
Handle jsonb PG columns.
  • Loading branch information
Sairahcaz authored Aug 21, 2023
2 parents 7f0b01f + 2ecabfa commit ad23ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolvers/SchemaRulesResolverPgSql.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function generateColumnRules(stdClass $column): array
$columnRules[] = 'date';

break;
case $type == 'json':
case $type->contains('json'):
$columnRules[] = 'json';

break;
Expand Down

0 comments on commit ad23ce2

Please sign in to comment.