Samka1u commited on
Commit
63793bb
·
verified ·
1 Parent(s): 5310748

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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