diff --git a/backend/configuration.yml b/backend/configuration.yml index 9302209..a148c8b 100644 --- a/backend/configuration.yml +++ b/backend/configuration.yml @@ -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/ \ No newline at end of file diff --git a/backend/pom.xml b/backend/pom.xml index 5f1d79d..3ed3ed9 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -51,6 +51,11 @@ h2 1.4.197 + + org.xerial + sqlite-jdbc + 3.23.1 +