Skip to content

Commit d0a8099

Browse files
committed
fix
1 parent 1210663 commit d0a8099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ class MedicineRequest(SQLModel, table=True):
6363
AllocationResult.request = Relationship(back_populates="allocations")
6464

6565

66-
SQLModel.metadata.create_all(engine)
66+
SQLModel.metadata.create_all(engine, checkfirst=True)

0 commit comments

Comments
 (0)