We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96552ac commit 76d4803Copy full SHA for 76d4803
src/components/Modals/DeleteTableModal.tsx
@@ -50,15 +50,14 @@ export default function DeleteTableModal({
50
}
51
52
53
- console.log('schemmmmmmmaaaaaaa', schemaStore);
54
const response = await fetch(`/api/sql/${dbCredentials.db_type}/deleteTable`, {
55
method: 'DELETE',
56
headers: {
57
'Content-Type': 'application/json',
58
},
59
body: JSON.stringify({ tableName: tableName }),
60
});
61
- console.log('response on deleting tableName: ', response);
+
62
//delete the table object from the schemaStore object
63
delete schemaStore[tableName];
64
delete dataStore[tableName];
0 commit comments