jhipster: how to avoid database update when running in PROD mode?

Nic*_*aez 5 java jhipster

When I run my jhipster app in production mode (spring.profiles.active=prod) the database update is always executed. I need to avoid this behaviour because organizational policies require DB updates to be run manually by the DBA.

Is it possible?

UPDATE with answer: Yes, it is possible. The way to do it is exactly what @julien-dubois said: in the application-prod.yml file add the following line:

liquibase.enabled: false
Run Code Online (Sandbox Code Playgroud)

Warning, the application-prod.yml generated by jhipster already contains some liquibase configuration

liquibase:
    context: prod
Run Code Online (Sandbox Code Playgroud)

But do not add the "enabled" entry under that "liquibase" entry because it is ignored. You should add a new root level entry:

liquibase.enabled: false
liquibase:
    context: prod
Run Code Online (Sandbox Code Playgroud)

Jul*_*ois 2

这是一个常见的 Spring Boot 属性

在你的application-prod.yml你需要设置liquibase.enabled=false