forked from db-migrate/pg
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, I don't know if this lib is still under maintenance, but still...
Me and my teammates started using it and we were having ourselves a problem adding a new foreign key. With no error log or anything, the migration would never end.
After some debugging, we found out that the problem is with the query. It turns out it's actually generating something like this:
ALTER TABLE [dbo].[['dbo','Table']] ADD CONSTRAINT .............
Also, there is no rollback if something goes wrong. If you are still accepting new PRs, I can fix both issues for you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels