File tree 4 files changed +31
-0
lines changed
4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 25
25
</properties >
26
26
27
27
<dependencies >
28
+ <dependency >
29
+ <groupId >org.springframework.boot</groupId >
30
+ <artifactId >spring-boot-starter-jdbc</artifactId >
31
+ </dependency >
28
32
<dependency >
29
33
<groupId >org.liquibase</groupId >
30
34
<artifactId >liquibase-core</artifactId >
Original file line number Diff line number Diff line change
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 number Diff line number Diff line change
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 number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments