ultimate-fastapi-tutorial
ultimate-fastapi-tutorial copied to clipboard
DB fieldname is inconsistant
When building the example DB with Alembic the User table has a field 'password', but the code which fills the database assumes the field to be called 'hashed_password'. (part 10) When not using Alembic by uncommenting a line in db/init_db.py I get an error about not recognizing Base which is not(?) imported although mentioned in init.py
I also noticed the use of 'full_name' versus 'first_name' and 'surname'.
+1