Compare commits
No commits in common. "2980248669c47a6b6b0619195d52817c3e411a85" and "6145597d8cb8e02f8312d5a2ac4c42cdff122b2b" have entirely different histories.
2980248669
...
6145597d8c
|
|
@ -54,10 +54,4 @@ atlassian-ide-plugin.xml
|
|||
cached-antora-playbook.yml
|
||||
|
||||
node_modules
|
||||
/.kotlin/
|
||||
|
||||
### Environment ###
|
||||
.env
|
||||
*.env
|
||||
**/*.env
|
||||
|
||||
/.kotlin/
|
||||
|
|
@ -36,10 +36,6 @@ out/
|
|||
### VS Code ###
|
||||
.vscode/
|
||||
|
||||
### Environment ###
|
||||
.env
|
||||
*.env
|
||||
**/*.env
|
||||
|
||||
### Database ###
|
||||
data/
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ dependencies {
|
|||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
runtimeOnly 'org.postgresql:postgresql'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-data-jdbc-test'
|
||||
|
|
|
|||
|
|
@ -1,24 +1,17 @@
|
|||
spring:
|
||||
application:
|
||||
name: backend
|
||||
|
||||
sql:
|
||||
init:
|
||||
mode: always
|
||||
schema-locations: classpath:schema.sql
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
|
||||
username: ${DB_USER}
|
||||
password: ${DB_PASSWD}
|
||||
|
||||
url: jdbc:h2:file:./data/db
|
||||
driver-class-name: org.h2.Driver
|
||||
username: sa
|
||||
password:
|
||||
jpa:
|
||||
hibernate:
|
||||
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