-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Custom Postgres Schema #1818
Labels
enhancement
New feature or request
Comments
I'd like to work on this issue |
@shubham-padia Please go ahead, you can start with looking into TypeORM's support for Postgres schema |
shubham-padia
added a commit
to shubham-padia/jackson
that referenced
this issue
Apr 6, 2024
Fixes boxyhq#1818. This commit adds postgres schema support to the app logic. The dev environment uses synchronize function to create tables, and does not run the explicit migrations. We will add schema support for production in the next commit.
8 tasks
shubham-padia
added a commit
to shubham-padia/jackson
that referenced
this issue
Apr 6, 2024
Fixes boxyhq#1818. This commit adds postgres schema support to the app logic. The dev environment uses synchronize function to create tables, and does not run the explicit migrations. We will add schema support for production in the next commit.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: