Compare commits
No commits in common. "2980248669c47a6b6b0619195d52817c3e411a85" and "6145597d8cb8e02f8312d5a2ac4c42cdff122b2b" have entirely different histories.
2980248669
...
6145597d8c
|
|
@ -55,9 +55,3 @@ cached-antora-playbook.yml
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
/.kotlin/
|
/.kotlin/
|
||||||
|
|
||||||
### Environment ###
|
|
||||||
.env
|
|
||||||
*.env
|
|
||||||
**/*.env
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,6 @@ out/
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
### Environment ###
|
|
||||||
.env
|
|
||||||
*.env
|
|
||||||
**/*.env
|
|
||||||
|
|
||||||
### Database ###
|
### Database ###
|
||||||
data/
|
data/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ dependencies {
|
||||||
compileOnly 'org.projectlombok:lombok'
|
compileOnly 'org.projectlombok:lombok'
|
||||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||||
runtimeOnly 'com.h2database:h2'
|
runtimeOnly 'com.h2database:h2'
|
||||||
runtimeOnly 'org.postgresql:postgresql'
|
|
||||||
annotationProcessor 'org.projectlombok:lombok'
|
annotationProcessor 'org.projectlombok:lombok'
|
||||||
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
|
||||||
testImplementation 'org.springframework.boot:spring-boot-starter-data-jdbc-test'
|
testImplementation 'org.springframework.boot:spring-boot-starter-data-jdbc-test'
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,17 @@
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: backend
|
name: backend
|
||||||
|
|
||||||
sql:
|
|
||||||
init:
|
|
||||||
mode: always
|
|
||||||
schema-locations: classpath:schema.sql
|
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
|
url: jdbc:h2:file:./data/db
|
||||||
username: ${DB_USER}
|
driver-class-name: org.h2.Driver
|
||||||
password: ${DB_PASSWD}
|
username: sa
|
||||||
|
password:
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
show-sql: true
|
database-platform: org.hibernate.dialect.H2Dialect
|
||||||
|
h2:
|
||||||
|
console:
|
||||||
|
enabled: true
|
||||||
|
path: /h2-console
|
||||||
|
|
||||||
properties:
|
|
||||||
hibernate:
|
|
||||||
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
||||||
format_sql: true
|
|
||||||
default_schema: server-manager
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
CREATE SCHEMA IF NOT EXISTS "server-manager";
|
|
||||||
Loading…
Reference in New Issue