Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -290,6 +290,7 @@ def change_insert_mode(choice):
|
|
| 290 |
"""
|
| 291 |
table_status = table_check()
|
| 292 |
if choice == "Upload New" and not "NoSuchTableError" in table_status:
|
|
|
|
| 293 |
sql_engine(f"DROP TABLE {PATHS.TABLE_NAME};")
|
| 294 |
else:
|
| 295 |
pass
|
|
|
|
| 290 |
"""
|
| 291 |
table_status = table_check()
|
| 292 |
if choice == "Upload New" and not "NoSuchTableError" in table_status:
|
| 293 |
+
sql_engine(f"DROP COLUMN *;")
|
| 294 |
sql_engine(f"DROP TABLE {PATHS.TABLE_NAME};")
|
| 295 |
else:
|
| 296 |
pass
|