jackson icon indicating copy to clipboard operation
jackson copied to clipboard

Support Custom Postgres Schema

Open rbourdon opened this issue 2 years ago • 2 comments

Please check if your Feature Request has not been already raised in the Discussions Tab, as we would like to reduce duplicates. If it has been already raised, simply upvote it 🔼.

Is your proposal related to a problem?

Jackson doesn't support using a postgres schema other than 'public'. In a large enterprise projects using the npm package, depending on your architecture, using public can be undesirable due to things like database roles/permissions, existing migrations, etc.

Describe the solution you'd like

Jackson should support specifying a postgres schema.

Describe alternatives you've considered

Use a distinct user for jackson and execute ALTER USER <user_name> SET search_path TO <schema>;. This can work but it would be cleaner and safer to have native support.

rbourdon avatar Oct 19 '23 20:10 rbourdon

I'd like to work on this issue

shubham-padia avatar Apr 05 '24 21:04 shubham-padia

@shubham-padia Please go ahead, you can start with looking into TypeORM's support for Postgres schema

deepakprabhakara avatar Apr 05 '24 21:04 deepakprabhakara