Trouble with generating new column

Hi all. Can you please help me? I have trouble with creating a new column in the Spring Boot Entity (Postgres db). After adding a simple column is_deleted, and running diff task, I get following .xml file:

    <?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.10.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.xsd">
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-9">
        <addColumn tableName="contract_partner">
            <column name="is_deleted" type="boolean"/>
        </addColumn>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-1">
        <dropUniqueConstraint constraintName="UC_COMMISSIONERCASE_PREFIX_COL" tableName="commissioner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-2">
        <addUniqueConstraint columnNames="case_prefix" constraintName="UC_COMMISSIONERCASE_PREFIX_COL" tableName="commissioner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-3">
        <dropUniqueConstraint constraintName="UC_COMMISSIONERCOMMISSIONER_NO_COL" tableName="commissioner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-4">
        <addUniqueConstraint columnNames="commissioner_no" constraintName="UC_COMMISSIONERCOMMISSIONER_NO_COL" tableName="commissioner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-5">
        <dropUniqueConstraint constraintName="UC_CONTRACT_PARTNERCONTRACT_PARTNER_ID_COL" tableName="contract_partner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-6">
        <addUniqueConstraint columnNames="contract_partner_id" constraintName="UC_CONTRACT_PARTNERCONTRACT_PARTNER_ID_COL" tableName="contract_partner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-7">
        <dropUniqueConstraint constraintName="UC_CONTRACT_PARTNERCREDITOR_ID_COL" tableName="contract_partner"/>
    </changeSet>
    <changeSet author="milicaradovanovic (generated)" id="1620991629913-8">
        <addUniqueConstraint columnNames="creditor_id" constraintName="UC_CONTRACT_PARTNERCREDITOR_ID_COL" tableName="contract_partner"/>
    </changeSet>
</databaseChangeLog>

Can somebody tell me why are dropUniqueConstraint and addUniqueConstraint changeSets being added?

Hi @milicar

Could you please share the version of liquibase you are currently using?

Hi :slight_smile:

liquibase-core: 3.10.3
liquibaseHibernate5Version: 3.6