Fix type swap on refetch schema
This commit is contained in:
parent
7c3c82013c
commit
1bc7072a72
|
@ -354,7 +354,7 @@ function copyExistingPropsOver(
|
||||||
// If the db column type changed to a non-compatible one, we want to re-fetch it
|
// If the db column type changed to a non-compatible one, we want to re-fetch it
|
||||||
if (
|
if (
|
||||||
updatedColumnType !== existingColumnType &&
|
updatedColumnType !== existingColumnType &&
|
||||||
!SWITCHABLE_TYPES[existingColumnType]?.includes(updatedColumnType)
|
!SWITCHABLE_TYPES[updatedColumnType]?.includes(existingColumnType)
|
||||||
) {
|
) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue