Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Podil.js, a lightweight and secure database schema migration tool (github.com/podiljs)
2 points by 4ipp on Jan 3, 2023 | hide | past | favorite | 2 comments



Shouldn't the migration task be separate from the application running the web server?

If you had this within an application running in a Kubernetes pod, then each instance will attempt to run the migration.

Additionally, the application will need a DB user credentials that is capable of powerful actions like dropping a table, so that the migrator is capable of doing that - this would be a potential security vulnerability.


Thank you. Good points, I will think on that. For instance, flywaydb supports both ways but usually it is done directly from the application




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: