Closed ewdurbin closed 1 month ago
Is your feature request related to a problem? Please describe.
Development requires migrations! We need a simple way to generate them when working locally.
Describe the solution you'd like
make migration "Add column fizz to Buzz"
Should call
python -m flask db revision --autogenerate -m "Add column fizz to Buzz"
in the web container.
Describe alternatives you've considered
Adding documentation on how to generate a migration.
"Run docker compose exec web python -m flask db revision --autogenerate -m "Add column fizz to Buzz" to generate a migration..."
docker compose exec web python -m flask db revision --autogenerate -m "Add column fizz to Buzz"
or similar in README.md
Is your feature request related to a problem? Please describe.
Development requires migrations! We need a simple way to generate them when working locally.
Describe the solution you'd like
Should call
python -m flask db revision --autogenerate -m "Add column fizz to Buzz"
in the web container.
Describe alternatives you've considered
Adding documentation on how to generate a migration.
"Run
docker compose exec web python -m flask db revision --autogenerate -m "Add column fizz to Buzz"
to generate a migration..."or similar in README.md