Trouble with branch copy
Hi 👋
We are having trouble copying a branch on Xata Lite. A certain migration is not run
Workspace ID:
5713tr
Source: main
Target: main-copy
The migration history ran only up to (not including) the following migration:
SQL: DROP INDEX bb_6je6ml9g3h4db2lnakq5vto0ro_5713tr."contactsToTags_uniq_idx"
Could you please have a look?
2 Replies
Hi Michael, taking a look now 👀
Hi Michael, thanks for bearing with me, I think I can see what the error is. Looks like the actual migration SQL statement executed on the copy contains the branch ID of the source branch, so the operation fails (confirmed by an error message in the database logs). I'll pass this on to the team and see if we can get it fixed
I've edited the problematic migration in the source main branch. Can you try creating a copy again?
Looks good, thanks!