All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.harness.change.changelogs.edb.9.5.renameSequence.xml Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show 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"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
         http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
    <!-- [as datatype] structure isn't working for EDB 9.5 because of liquibase bug https://github.com/liquibase/liquibase/issues/1429,
     so dataType="int" attribute is removed comparing to basic changeLog.
     As soon as bug is fixed datatype="int" shouldn't be taken into consideration when generating SQL-->
    <changeSet author="oleh" id="1">
        <createSequence incrementBy="1"
                        minValue="1"
                        sequenceName="test_sequence"
                        startValue="1"/>
        <renameSequence  newSequenceName="test_sequence_rename_test"
                         oldSequenceName="test_sequence"/>
        <rollback>
            <dropSequence sequenceName="test_sequence_rename_test"/>
        </rollback>
    </changeSet>
</databaseChangeLog>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy