Mercurial > hg > SpringPlayground
view spring-boot-playground/src/main/resources/liquibase/changelog.xml @ 13:a633d0623278
Die Sequenz startet bei 1 und wird auch nur um 1 erhoeht
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Fri, 14 Aug 2020 08:13:57 +0200 |
parents | d57d0c6a841b |
children |
line wrap: on
line source
<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.1.xsd"> <changeSet id="create_table" author="olmes"> <createTable tableName="MOVIE"> <column name="ID" type="INT"> <constraints primaryKey="true"/> </column> <column name="TITLE" type="VARCHAR"> </column> </createTable> </changeSet> <changeSet id="create_sequence" author="olmes"> <createSequence sequenceName="HIBERNATE_SEQUENCE" startValue="1" incrementBy="1"/> </changeSet> </databaseChangeLog>