mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 09:36:10 +00:00 
			
		
		
		
	orm.py - added init call after dropping table by migration
This commit is contained in:
		@@ -169,5 +169,6 @@ def migrate(engine: Engine):
 | 
				
			|||||||
            print('  Your leases are recreated on next renewal!')
 | 
					            print('  Your leases are recreated on next renewal!')
 | 
				
			||||||
            print('  If an error message appears on the client, you can ignore it.')
 | 
					            print('  If an error message appears on the client, you can ignore it.')
 | 
				
			||||||
            Lease.__table__.drop(bind=engine)
 | 
					            Lease.__table__.drop(bind=engine)
 | 
				
			||||||
 | 
					            init(engine)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    upgrade_1_0_to_1_1()
 | 
					    upgrade_1_0_to_1_1()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user