fix(sql-tools): null default (#20796)

This commit is contained in:
Jason Rasmussen
2025-08-08 15:44:39 -04:00
committed by GitHub
parent 538d5c81ea
commit 2ce4f8dd3b
4 changed files with 34 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ export const isDefaultEqual = (source: DatabaseColumn, target: DatabaseColumn) =
if (
withTypeCast(source.default, getColumnType(source)) === target.default ||
source.default === withTypeCast(target.default, getColumnType(target))
withTypeCast(target.default, getColumnType(target)) === source.default
) {
return true;
}