porridger/back/delete_db.py

6 lines
171 B
Python

from sqlalchemy import Table, MetaData
from .db import engine
tbl = Table('UserDatabase', MetaData(), autoload_with=engine)
tbl.drop(engine, checkfirst=False)
a = input()