This commit is contained in:
Joshen Lim committed 2023-04-14 11:17:12 +07:00
1 parent 775e0140e7
commit d92e2dce4d
1 file changed
-2
-2
View File
@@ -469,8 +469,6 @@ export default class MetaStore implements IMetaStore {
category: 'error',
message: `An error occurred while creating the column "${payload.name}"`,
})
const query = `alter table "${selectedTable.name}" drop column if exists "${payload.name}";`
await this.rootStore.meta.query(query)
return { error }
}
}