brainslug.database.migration.add_blob_value_to_property.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd" logicalFilePath="add_blob_value_to_property.xml"> <changeSet id="1" author="brainslug"> <preConditions onFail="CONTINUE"> <not> <dbms type="postgresql"/> <dbms type="mysql"/> <columnExists tableName="BS_INSTANCE_PROPERTY" columnName="_BLOB_VALUE" /> </not> </preConditions> <addColumn tableName="BS_INSTANCE_PROPERTY"> <column name="_BLOB_VALUE" type="BLOB" /> </addColumn> </changeSet> <changeSet id="2" author="brainslug" dbms="postgresql"> <preConditions onFail="CONTINUE"> <not> <columnExists tableName="BS_INSTANCE_PROPERTY" columnName="_BLOB_VALUE" /> </not> </preConditions> <addColumn tableName="BS_INSTANCE_PROPERTY"> <column name="_BLOB_VALUE" type="OID" /> </addColumn> </changeSet> <changeSet id="3" author="brainslug" dbms="mysql"> <preConditions onFail="CONTINUE"> <not> <columnExists tableName="BS_INSTANCE_PROPERTY" columnName="_BLOB_VALUE" /> </not> </preConditions> <addColumn tableName="BS_INSTANCE_PROPERTY"> <column name="_BLOB_VALUE" type="LONGBLOB" /> </addColumn> </changeSet> </databaseChangeLog>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy