release/2025-02-19-18-48

This commit is contained in:
geniy 2025-02-19 18:48:28 +03:00
parent 97d2076830
commit e3d9694b01
2 changed files with 18 additions and 24 deletions

View File

@ -56,6 +56,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -1,28 +1,18 @@
server:
port: 80
spring:
datasource:
url: jdbc:h2:mem:testdb
h2:
console:
#enabled: false
enabled: true
jpa:
#generate-ddl: false
generate-ddl: true
hibernate:
#ddl-auto: none
ddl-auto: create-drop
# Показываем запросы
database: POSTGRESQL
show-sql: true
#defer-datasource-initialization: true
defer-datasource-initialization: false
hibernate:
ddl-auto: validate
#ddl-auto: create
datasource:
platform: postgres
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=infinity_stack
username: postgres
password: MobileDev
driverClassName: org.postgresql.Driver
# Своевременный запуск data.sql
defer-datasource-initialization: true
spring-doc:
swagger-ui:
path: /swagger-ui.html
operationsSorter: method