Skip to content

Issue adding foreign key #4

@sifthedog

Description

@sifthedog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions