Currently using local sqlite db for playing around with.

This commit is contained in:
neviyn 2018-09-15 20:57:51 +01:00
parent 7e0d58200f
commit 64c828b87e
2 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,13 @@
database:
driverClass: org.h2.Driver
url: jdbc:h2:mem:myDb;DB_CLOSE_DELAY=-1
# the name of your JDBC driver
driverClass: org.sqlite.JDBC
# the JDBC URL
url: jdbc:sqlite:sampledatabase.db
# any properties specific to your JDBC driver:
properties:
foreign_keys: true
server:
rootPath: /api/

View File

@ -51,6 +51,11 @@
<artifactId>h2</artifactId>
<version>1.4.197</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.23.1</version>
</dependency>
</dependencies>
<build>