comparison spring-boot-playground/src/main/resources/liquibase/changelog.xml @ 6:d57d0c6a841b

Einbau von liquibase zum Erzeugen des Schemas
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 13 Aug 2020 16:18:20 +0200
parents
children a633d0623278
comparison
equal deleted inserted replaced
5:227f3105fedd 6:d57d0c6a841b
1 <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
4 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
5
6 <changeSet id="create_table" author="olmes">
7 <createTable tableName="MOVIE">
8 <column name="ID" type="INT">
9 <constraints primaryKey="true"/>
10 </column>
11 <column name="TITLE" type="VARCHAR">
12 </column>
13 </createTable>
14 </changeSet>
15 <changeSet id="create_sequence" author="olmes">
16 <createSequence sequenceName="HIBERNATE_SEQUENCE"/>
17 </changeSet>
18 </databaseChangeLog>