forked from polka_billy/porridger
clean imports (delete imports, which are not used)
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
from sqlalchemy import Table, MetaData
|
||||
from .db import engine
|
||||
from sqlalchemy import Table, MetaData, text
|
||||
from .db import engine, Base
|
||||
|
||||
tbl = Table('UserDatabase', MetaData(), autoload_with=engine)
|
||||
tbl.drop(engine, checkfirst=False)
|
||||
a = input()
|
||||
# tbl = Table('Poems', MetaData(), autoload_with=engine)
|
||||
# tbl.drop(engine, checkfirst=False)
|
||||
# a = input()
|
||||
|
||||
# Base.metadata.drop_all(bind=engine)
|
||||
|
||||
with engine.connect() as conn:
|
||||
conn.execute(text("DELETE FROM alembic_version"))
|
||||
conn.commit()
|
Reference in New Issue
Block a user