💾 Setup SQLite database (#3)
* Add SQLite setup * Add basic user entity and repository * Adjust DB naming * Consolidate properties
This commit is contained in:
parent
254f2f09ec
commit
e75ac48743
7 changed files with 141 additions and 0 deletions
|
@ -1 +1,11 @@
|
|||
# General
|
||||
spring.application.name=home-cert-assistant
|
||||
# Database
|
||||
driverClassName=org.sqlite.JDBC
|
||||
url=jdbc:sqlite:sqlLiteDb:database?cache=shared
|
||||
username=admin
|
||||
password=admin
|
||||
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
|
||||
#TODO: Use flyway for db setup
|
||||
hibernate.hbm2ddl.auto=create-drop
|
||||
hibernate.show_sql=true
|
Loading…
Add table
Add a link
Reference in a new issue