forked from polka_billy/porridger
refactoring - 1
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
from sqlalchemy import Table, MetaData, text
|
||||
from .db import engine, Base
|
||||
|
||||
# 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