alterSequence - incrementBy is not allowed on h2

Description

Liquibase 3.6.3 fails on validation saying that incrementBy is not allowed on h2 for alterSequence when it is allowed for createSequence

This is working:

1 2 3 4 - createSequence: sequenceName: batch_transaction_seq startValue: 1 incrementBy: 20

This is not working:

1 2 3 - alterSequence: sequenceName: batch_transaction_seq incrementBy: 100
1 2 3 Caused by: liquibase.exception.ValidationFailedException: Validation Failed: 1 changes have validation failures incrementBy is not allowed on h2, classpath:/db/db.changelog.yml::increase-sequence-increment-size::Eugene Grybinnyk

Environment

I'm running Spring Boot tests.
Versions:

  • com.h2database:h2:jar:1.4.197:test

  • org.liquibase:liquibase-core:jar:3.6.3:compile

Status

Assignee

Unassigned

Reporter

Eugene Grybinnyk

Labels

None

Affects versions

3.6.3

Priority

Major