We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the class EmbeddedPostgres create the jdbc url, the parameter are defined in the static string
private static final String JDBC_FORMAT = "jdbc:postgresql://localhost:%s/%s?user=%s";
How could I add the currentSchema ? Can I open a PR with the changes?
The text was updated successfully, but these errors were encountered:
I found a way to set
@Configuration class EmbeddedPostgresConfiguration { @Bean fun embeddedPostgresCustomizer(): Consumer<EmbeddedPostgres.Builder> { return Consumer { builder -> builder.setConnectConfig("currentSchema", "schema_name") } } }
Sorry, something went wrong.
You can also set it through zonky.test.database.postgres.client.properties.currentSchema=xxx property. More information about general configuration is described at https://github.com/zonkyio/embedded-database-spring-test#common-configuration
zonky.test.database.postgres.client.properties.currentSchema=xxx
No branches or pull requests
When the class EmbeddedPostgres create the jdbc url, the parameter are defined in the static string
private static final String JDBC_FORMAT = "jdbc:postgresql://localhost:%s/%s?user=%s";
How could I add the currentSchema ?
Can I open a PR with the changes?
The text was updated successfully, but these errors were encountered: