Fix type swap on refetch schema

This commit is contained in:
Adria Navarro 2024-04-17 17:18:57 +02:00
parent 7c3c82013c
commit 1bc7072a72
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ function copyExistingPropsOver(
// If the db column type changed to a non-compatible one, we want to re-fetch it
if (
updatedColumnType !== existingColumnType &&
!SWITCHABLE_TYPES[existingColumnType]?.includes(updatedColumnType)
!SWITCHABLE_TYPES[updatedColumnType]?.includes(existingColumnType)
) {
continue
}