ultimate-fastapi-tutorial icon indicating copy to clipboard operation
ultimate-fastapi-tutorial copied to clipboard

Filling the initial database fails

Open olaf7 opened this issue 4 years ago • 0 comments

Related to issue #18 (mixing password/hashed_password ) ?

app/db/init_db.py", line 52, in init_db user_in = schemas.UserCreate( File "pydantic/main.py", line 406, in pydantic.main.BaseModel.init pydantic.error_wrappers.ValidationError: 1 validation error for UserCreate password field required (type=value_error.missing)

Field 'id' is also not mapped/queried or is this an autoinc field somehow?

olaf7 avatar Nov 25 '21 14:11 olaf7