hello everyone, I am relatively new to kotlin and ...
# exposed
m
hello everyone, I am relatively new to kotlin and exposed. I am working on a service that will be running on multiple k8s pods. After doing some research and a couple of POCs seems like exposed is one of the better ORMs available. The current plan is to use flyway for migrations (using the sql generated by exposed in the migration scripts). Looking for some advice. In my local POC I set up the connection using HikariCP to pass to flyway and use the API to migrate from (e.g.
flyway.migrate()
) Are there any common patterns / industry standards when it comes to this?
I will add that my plan is to have it run as a k8s job with the app itself booting up in a migration mode using elevated privileges. After the migration is complete, multiple pods running the service in a normal mode are booted up.