mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-12-27 16:08:55 +00:00
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