forked from oscar.krause/fastapi-dls
orm.py - added init call after dropping table by migration
This commit is contained in:
parent
0983426f30
commit
13ec45e762
@ -169,5 +169,6 @@ def migrate(engine: Engine):
|
||||
print(' Your leases are recreated on next renewal!')
|
||||
print(' If an error message appears on the client, you can ignore it.')
|
||||
Lease.__table__.drop(bind=engine)
|
||||
init(engine)
|
||||
|
||||
upgrade_1_0_to_1_1()
|
||||
|
Loading…
Reference in New Issue
Block a user