Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

script not executed but added to databasechangelog table

$
0
0
Recently I encountered a case where some liquibase scripts were not executed on a mssql database.

In the databasechangelog table of the database the scripts are marked as executed, however the changes to the schema were not made.

Sadly, logs of the execution are not available because it was reported late and the logs were already auto-deleted.

one of the .xml in question is 00000008_V3.2.1.5_3592#DropCommentsColumnInQualityValue.xml
```<?xml version="1.0" encoding="UTF-8"?>
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    <changeSet author="faf" id="30.10.19-11:28">
        <dropColumn tableName="QUALITY_VALUE" columnName="COMMENTS"/>
    </changeSet>
</databaseChangeLog>
```

The master.xml contains the script above
```<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
   <include file=...
   ...
   <include file="db/changelog/00000008_V3.2.1.5_3592#DropCommentsColumnInQualityValue.xml" relativeToChangelogFile="false"/>
   ...
   ...
</databaseChangeLog>
```

Viewing all articles
Browse latest Browse all 2993

Trending Articles