Skip to content

Commit

Permalink
[Drizzle-Kit]: ignore column type casing when finding alternations
Browse files Browse the repository at this point in the history
  • Loading branch information
r1tsuu committed Nov 12, 2024
1 parent 9859e8e commit 7eafdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drizzle-kit/src/jsonDiffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ const alternationsInColumn = (column) => {

const result = altered
.filter((it) => {
if ('type' in it && it.type.__old.replace(' (', '(') === it.type.__new.replace(' (', '(')) {
if ('type' in it && it.type.__old.toLowerCase().replace(' (', '(') === it.type.__new.toLowerCase().replace(' (', '(')) {
return false;
}
return true;
Expand Down

0 comments on commit 7eafdd8

Please sign in to comment.