Repository navigation
fix(postgres): sync with alter method fails with dataType enum (#7649) - #15738
Merged
Merged
Conversation
3 of 4 tasks
ephys
requested changes
Mar 3, 2023
Member
|
Since your test is failing in DB2 & MSSQL, you can exclude these two dialects from that test and add a TODO to fix them, we'll do that separately from this PR |
aristov
force-pushed
the
fix/pgEnum-alter
branch
from
March 4, 2023 15:19
eb8a92c to
70842e8
Compare
Contributor
Author
Done. |
WikiRik
approved these changes
Mar 5, 2023
WikiRik
left a comment
Member
There was a problem hiding this comment.
Looks good to me, thanks for opening a PR towards main!
|
FYI, this change introduced a bug when using CockroachDB. See: #16191 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
Description Of Change
Closes #7649
This change fixes an error that occurs when calling
sync({ alter : true })on a model with the ENUM data type.This is a port of changes from #15718 to main (v7).
Todos