1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

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

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
}