2

I accidently ran this changeset, but I want to do some modification to this changeset. This is still in development mode, so I do not want to add another changeset to revert these changes. I am planning to delete PAYLOAD_SIZE column from the table by executing sql query directly in database. After that I want to run the changeset again by doing some modification.

From the liquibase documentation I understand that liquibase creates an entry in table DATABASECHANGELOG for successfully executed changeset. So I am planning to delete the entry corresponding to changeset "ADD_PAYLOADSIZE" from table DATABASECHANGELOG. Will it cause any inconsistency by deleting entry from DATABASECHANGELOG please suggest.

<changeSet author="*****" id="ADD_PAYLOADSIZE">
        <addColumn tableName="METER_DATA">
            <column name="PAYLOAD_SIZE" type="BIGINT" defaultValue="0"></column>
        </addColumn>
</changeSet>

1 Answer 1

1

No, it wont cause any inconsistency as long as you make these two changes (manually delete the payload size column and remove the entry for this changeset from the DATABASECHANGELOG table)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.