IntersectMBO / cardano-db-sync

A component that follows the Cardano chain and stores blocks and transactions in PostgreSQL
Apache License 2.0
292 stars 161 forks source link

Run SQL script on startup #1800

Open gytis-ivaskevicius opened 3 months ago

gytis-ivaskevicius commented 3 months ago

We have a k8s job set up on each deployment which executes SQL script that creates additional indexes, I would love to see a feature where we could avoid this since it slows down the deployment (Deployment waits till the job is complete)

Maybe it would also be nice if we could pass higher privileged credentials to it in case we need to configure other things like users