Bug report
Describe the bug
When using the supabase/pgadmin-schema-diff as described on the supabase blog, i get an error TypeError: 'NoneType' object is not iterable.
To Reproduce
~ docker run supabase/pgadmin-schema-diff \
'postgres://postgres:[password]@[url].supabase.co:5432/postgres' \
'postgres://postgres:[password]@[url].supabase.co:5432/postgres' \
> ~/Downloads/schema-diff.sql
Starting schema diff...
Comparision started......0%
Traceback (most recent call last):
File "cli.py", line 272, in <module>
diff_result = message + 'BEGIN;\n\n' + '\n'.join(x.get('diff_ddl') for x in response_data['data'] if x.get('status') != 'Identical' and in_db_objects(x.get('type'), args)) + '\n\nEND;'
TypeError: 'NoneType' object is not iterable
Additional context
I can provide a schema-only dump of the source database in a more private setting, the target database is a freshly set-up Supabase project.
Bug report
Describe the bug
When using the
supabase/pgadmin-schema-diffas described on the supabase blog, i get an errorTypeError: 'NoneType' object is not iterable.To Reproduce
Additional context
I can provide a schema-only dump of the source database in a more private setting, the target database is a freshly set-up Supabase project.