How to define two different database users in Quarkus for Liquibase

Viewed 263

currently I'm trying to create a REST-Client with Quarkus and it's really amazing how cool this framework is. But now I'm having some problems with Liquibase.

I want Liquibase to access the database with an other user, than the datasource. In spring boot it would be something like this.

spring:
  datasource:
    driver-class-name: org.mariadb.jdbc.Driver
    url: jdbc:mariadb://...
    username: <app_user>
    password: ${DB_PASSWORD}
  liquibase:
    default-schema: my_schema
    user: <admin_user>
    password: ${DB_ADMIN_PASSWORD}

Is it possible to configure this in Quarkus too?

0 Answers
Related