view spring-boot-playground/src/main/resources/liquibase/changelog.xml @ 17:a9675808f1dd

Triggern der exception je nach Payload
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 10 Sep 2020 11:18:13 +0200
parents a633d0623278
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>