Closed tim9009 closed 9 months ago
@tim9009 I had the same issue, but I didn't notice the first message in the console Error setting session_replication_role to replica, you may get foreign key constraint errors
. After running migration with users who have correct permissions migration works.
Thank you for pointing that out @lukaszewczak! I ran the migration as a superuser and that allowed the script to finish with no errors 🎉
Will close this one as solved :)
Bug report
Required System information
Describe the bug
When running the migration script the script exits with an error every time it is about to migrate a table that includes an id, for example:
Key (page_id)=(9) is not present in table "pages".
. When looking at the rows in the pages table of the source database I can confirm that the page with id 9 does exist.Screenshots