Код: Выделить всё
13:33:25.739 I - l.ui INFO: The drop-all command may result in unrecoverable destructive changes to objects at 'jdbc:postgresql://localhost:5432/postgres'.
To protect against unwanted drops, set --requireForce=true, which will require a --force=true flag on the command.
Learn more at https://docs.liquibase.com/dropall.
Я считаю, что единственная вероятная возможность — через группу Spring.liquibase.parameters в приложении. yml. Однако даже это не работает:
Код: Выделить всё
spring:
liquibase:
parameters:
liquibase.command.dropAll.requireForce: true
liquibase.command.dropAll.force: true
Код: Выделить всё
CommandScope dropAll = new CommandScope("dropAll")
.addArgumentValue(DbUrlConnectionArgumentsCommandStep.DATABASE_ARG, Liquibase.this.getDatabase())
.addArgumentValue(DropAllCommandStep.CATALOG_AND_SCHEMAS_ARG, finalSchemas)
.addArgumentValue("dropDbclhistory", dropDbclhistory);
p>
Это означает, что у меня нет возможности указать это свойство. Что я могу здесь сделать?
Подробнее здесь: https://stackoverflow.com/questions/790 ... quibase-wi