Closed Kludex closed 3 years ago
I was able to create the first migration file via:
kubectl exec users-deployment-7d89d7b668-9kvxz -- alembic revision --autogenerate -m "First migration" kubectl exec users-deployment-7d89d7b668-9kvxz -- cat /app/migrations/versions/dc304df8db88_first_migration.py >> dc304df8db88_first_migration.py
Run this by hand is too primitive.
As a plus: decide what approach to take about the "way to run migrations". Some references below:
I was able to create the first migration file via:
Run this by hand is too primitive.
As a plus: decide what approach to take about the "way to run migrations". Some references below: