I have a multi-file flask project where I have a single model and a couple routes. Initially, the project was just a single app.py file and I was able to just run db.create_all() within that file. Now that I have complicated imports with my multi-file structure, I am wondering how I would go about creating the tables defined in my models.py file.
Application structure:
app/
__init__.py
config.py
extensions.py
models.py
routes.py
.env
.flaskenv
Pipfile
Pipfile.lock