Skip to content

Commit

Permalink
[bugfix] Fix for issue datamill-co#109
Browse files Browse the repository at this point in the history
issue: datamill-co#109

The table_schemas and the table_records did not match for more complex
and nested schemas.
  • Loading branch information
Carl Stejmar committed Apr 12, 2019
1 parent 8d34050 commit ccb7d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_postgres/denest.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _denest_schema(table_path, table_json_schema, key_prop_schemas, subtables, l
for prop, item_json_schema in table_json_schema['properties'].items():

if json_schema.is_object(item_json_schema):
_denest_schema_helper(table_path + (prop,),
_denest_schema_helper((prop,),
item_json_schema,
json_schema.is_nullable(item_json_schema),
new_properties,
Expand Down

0 comments on commit ccb7d85

Please sign in to comment.