Greetings,
This is a simple question. I'm still beginner in Liquibase anyway.
I have a change set as follows:
- <changeSet author="ashraf" id="7">
<comment>إدخال المشرف الأولي</comment>
<insert tableName="Employee">
<column name="Code" value="1"></column>
<column name="Name" value="مشرف"></column>
<column name="Password" valueNumeric="0x14b6625ab0d924114381d789a7656ce7b3dbd8" type="${types.password}"></column>
<column name="${names.arName}" value="المشرف الأولي"></column>
<column name="${names.enName}" value="Default administrator"></column>
<column name="IsUser" valueBoolean="False"></column>
<column name="IsStoreSecretary" valueBoolean="False"></column>
<column name="IsSalesPerson" valueBoolean="False"></column>
<column name="IsSalesPerson" valueBoolean="False"></column>
<column name="IsManager" valueBoolean="False"></column>
<column name="IsSafeSecretary" valueBoolean="False"></column>
<column name="IsCollectingPerson" valueBoolean="False"></column>
</insert>
</changeSet>
It works well. But when I roll it back, I get an error. A liquibase.exception.RollbackImpossibleException is thrown
I even don't know why Liquibase complains? I don't want to rollback this action as I drop the whole table on the rollback of a previous action.
I tried by every means I can to add rollback instructions, and searched the internet, but all in vain.
How can I solve this? As this problem prevents my whole rollback commands.
Regards,