-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SqlServer Migrations: Don't omit ALTER COLUMN when old type is unknown (
#23084) The fix for #21364 broke migrations created prior to version 3.1.0 which did not specify the old column type. In this case, we don't know whether the column was previously part of an index or not, so we should always include the ALTER COLUMN statement just in case. Note, the old column type is always specified for migrations created with versions 3.1.0 and newer. Fixes #23045
- Loading branch information
Showing
2 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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