Fix update

This commit is contained in:
Adria Navarro 2024-04-17 16:34:08 +02:00
parent f7a1b4cb12
commit ae137ca677
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export function createTablesStore() {
if (
oldField != null &&
oldField?.type !== field.type &&
SWITCHABLE_TYPES[oldField?.type]
!SWITCHABLE_TYPES[oldField?.type]?.includes(field.type)
) {
updatedTable.schema[key] = oldField
}