This repository was archived by the owner on Aug 14, 2023. It is now read-only.
forked from pgadmin-org/pgadmin4
-
-
Notifications
You must be signed in to change notification settings - Fork 3
TypeError 'NoneType' when using pgadmin-schema-diffΒ #3
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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 iterableAdditional 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.
karolzlot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working