cardano-foundation / cf-ledger-sync

An open-source Java application designed to facilitate access to indexed Cardano blockchain data
Apache License 2.0
19 stars 2 forks source link

How to customize database schema name? #130

Closed zxpectre closed 6 months ago

zxpectre commented 6 months ago

Is there a way to make ledger-sync use a custom schema name?

Say like passing a POSTGRES_SCHEMA env var with a different name?

This is really needed to properly take control over the setup and to manage better security permissions and versions.

We strongly suggest you guys this if not available yet, db-sync lacks it and is really important to have, opens us the possibility of having "pluggable" indexers to allow migrations for example.

see https://github.com/IntersectMBO/cardano-db-sync/issues/1632

zxpectre commented 6 months ago

Sorry, was on a rush and didn't notice that you have support for this already https://github.com/cardano-foundation/cf-ledger-sync/blob/c79af01403de89eccebad1c09b1022d9397eba71/env.example#L10

Closing this with a smile on our faces :100: