Replies: 1 comment 1 reply
-
hmm maybe it would work if I make a user per schema that has access to only that schema and then use that user in the database_url var? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have one postgres database with mutliple schemas and I want to apply migrations to each schema independently. At the moment when I create a migration the migrations tracking table goes in the main db area - but this means that if I have 2 microservices each using one of the schemas - the migrations get stored in one table for both schemas.
I would like to separate it so that each microservice connects to a schema in the same db and the migrations are for each are separately living in the corresponding schema rather than a single location shared by all schemas.
Hope that makes sense - maybe it's already possible I just don't know how.
Beta Was this translation helpful? Give feedback.
All reactions