incrementBy is not allowed on mysql, liquibase, quarkus

Viewed 30

I try to use liquibase with mysql in my quarkus application, this is the error I'm getting:

incrementBy is not allowed on mysql, db/changeLog.xml::added-autoincrement-to-id::VO

<createTable tableName="my_users">
  <column name="id" type="bigint" autoIncrement="true">
    <constraints nullable="false" primaryKey="true"/>
  </column>
</createTable>
<changeSet id="added-autoincrement-to-id" author="VO">
   <addAutoIncrement
     columnDataType="bigint"
     columnName="id"
     incrementBy="1"
     startWith="1"
     tableName="my_users"/>
</changeSet>

pom.xml

<dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-liquibase</artifactId>
    </dependency>

using the latest mysql version, served by docker.

0 Answers
Related