release/2025-02-19-18-48
This commit is contained in:
parent
97d2076830
commit
e3d9694b01
4
pom.xml
4
pom.xml
@ -56,6 +56,10 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-security</artifactId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
@ -1,28 +1,18 @@
|
|||||||
|
server:
|
||||||
|
port: 80
|
||||||
spring:
|
spring:
|
||||||
|
|
||||||
datasource:
|
|
||||||
url: jdbc:h2:mem:testdb
|
|
||||||
|
|
||||||
h2:
|
|
||||||
console:
|
|
||||||
#enabled: false
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
#generate-ddl: false
|
database: POSTGRESQL
|
||||||
generate-ddl: true
|
|
||||||
|
|
||||||
hibernate:
|
|
||||||
#ddl-auto: none
|
|
||||||
ddl-auto: create-drop
|
|
||||||
|
|
||||||
# Показываем запросы
|
|
||||||
show-sql: true
|
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
|
|
Loading…
x
Reference in New Issue
Block a user