Skip to content

Conversation

@ertl
Copy link
Contributor

@ertl ertl commented Feb 10, 2023

Description of change

fix: resolve issues for mssql migration when simple-enum was changed

  • Changes are now detected
  • Incorrect update Statement was split into a DROP CONSTRAINT and ADD CONSTRAINT Statement

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

ertl added 3 commits February 10, 2023 08:19
- Changes are now detected
- Incorrect update Statement was split into a DROP CONSTRAINT and ADD CONSTRAINT Statement

Closes: typeorm#7785 typeorm#9457
- Changes are now detected
- Incorrect update Statement was split into a DROP CONSTRAINT and ADD CONSTRAINT Statement

Closes: typeorm#7785 typeorm#9457
@ertl ertl changed the title Fix #9457 fix: resolve issues for mssql migration when simple-enum was changed Fixes: #7785 #9457 Feb 10, 2023
changed `enumName` usage to generated name;
improvements in test;
@AlexMesser AlexMesser merged commit cb154d4 into typeorm:master Apr 5, 2023
@AlexMesser
Copy link
Collaborator

thank you for contribution!

@ertl ertl deleted the fix_#9457 branch April 12, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants