feat: alembic migration added
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ def health_check():
|
||||
|
||||
|
||||
@app.post("/items/", response_model=schemas.Item)
|
||||
def create_item(item: schemas.ItemCreate, db: Session = Depends(get_db)):
|
||||
def create_item(item: schemas.Item, db: Session = Depends(get_db)):
|
||||
return crud.create_item(db, item)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user