-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide: Integrate to zalando postgres operator and FastAPI in Kubernetes cluster #254
Comments
What about this https://github.com/tortoise/aerich#use-aerich-in-application? |
Should I keep this as await command.migrate("test") |
You could use |
Can you guys activate discussions? This issue should probably become a thread. Closing it makes no sense. |
You can migrate use |
I have a zalando postgres-operator based database cluster on my k8 cluster. I have a separate FastAPI + tortoise ORM app. Tortoise uses the postgres db generated by the operator.
How do I integrate
aerich
to this workflow?I was thinking of just having a startup script that runs and applies migrations at the during pod/container startup:
Any improvements or better ideas alltogether?
The text was updated successfully, but these errors were encountered: