Skip to content

fix: resolve nameless TableForeignKey on drop foreign key - #9460

Merged
AlexMesser merged 1 commit into
typeorm:masterfrom
iJhefe:bugfix/drop-nameless-foreign-key
Nov 4, 2022
Merged

AlexMesser merged 1 commit into
typeorm:masterfrom
iJhefe:bugfix/drop-nameless-foreign-key

Conversation

@iJhefe

@iJhefe iJhefe commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Fixes #9432

Description of change

If a TableForeignKey is without a name on dropForeignKey so it's create a name like on createForeignKey

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@iJhefe iJhefe changed the title fix: resolve nameless TableForeign on drop foreign key fix: resolve nameless TableForeignKey on drop foreign key Oct 12, 2022
@AlexMesser
AlexMesser merged commit efb4168 into typeorm:master Nov 4, 2022
@AlexMesser

Copy link
Copy Markdown
Collaborator

thank you for contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Error on drop TableForeignKey without name

2 participants