Skip to content

Commit 8a686ef

Browse files
committed
- first simple changeset
1 parent e702d74 commit 8a686ef

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
</properties>
2626

2727
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-starter-jdbc</artifactId>
31+
</dependency>
2832
<dependency>
2933
<groupId>org.liquibase</groupId>
3034
<artifactId>liquibase-core</artifactId>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
spring.jpa.hibernate.ddl-auto=none
2+
spring.h2.console.enabled=true
3+
liquibase.change-log=classpath:db/liquibase-changelog.xml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<databaseChangeLog
4+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
5+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
7+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
8+
9+
<changeSet id="1" author="hhimanshu">
10+
<createTable tableName="books">
11+
<column name="id" type="int"/>
12+
</createTable>
13+
</changeSet>
14+
</databaseChangeLog>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<databaseChangeLog
4+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
5+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
7+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
8+
9+
<include file="changelog/01-create-books-schema.xml" relativeToChangelogFile="true"/>
10+
</databaseChangeLog>

0 commit comments

Comments
 (0)