Note If the migration fails, delete the migrations/versions/da2d67824548_create_tables
file and run alembic revision --autogenerate -m "create tables"
-
Add the
recipe_ingredients
join table to themodels.py file
. -
Give each
Recipe
a way to refer to theingredients
that are associated with it. -
Give each
Ingredient
a way to refer to therecipes
that are associated with it. -
Test the relationship in the
seeds.py
file.