Files
WAI_Project_BACKEND/src/main/resources/application-local.yml
ruying408 733c290fe5 移除:插件jar二进制文件入库,
调整:实体字段注解类型,兼容postgresql
2024-08-02 01:39:32 +08:00

37 lines
941 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/cool?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:postgresql://127.0.0.1:5432/cool
# username: postgres
# password: 123456
# driver-class-name: org.postgresql.Driver
# AutoTable配置根据实体类自动生成表
auto-table:
# 启用自动维护表功能
enable: true
# 自动删除名称不匹配的索引
autoDropIndex: true
# 建表的时候,父类的字段排序是在子类后面还是前面
superInsertPosition: before
# 模型包路径
model-package: com.cool.modules.*.entity.*
# Cool相关配置
cool:
# 初始化数据
initData: true
# 文档
springdoc:
api-docs:
#是否开启文档功能 本地为了配合eps功能不可关闭
enabled: true
# 设置日志级别
logging:
level:
com.cool: debug