liquibase.harness.change.changelogs.postgresql.9.5.alterSequence.xml Maven / Gradle / Ivy
<?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"> <!-- PostgreSQL doesn't support [AS datatype] structure prior to 10th version so dataType="int" attribute is removed comparing to basic changeLog--> <changeSet id="1" author="as"> <createSequence incrementBy="1" minValue="1" sequenceName="test_sequence" startValue="1"/> <rollback/> </changeSet> <changeSet author="as" id="2" > <alterSequence cacheSize="371717" cycle="true" incrementBy="10" maxValue="371717" minValue="1" sequenceName="test_sequence"/> <rollback> <dropSequence sequenceName="test_sequence"/> </rollback> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy