## 插件解析 ### 数据库迁移工具 https://documentation.red-gate.com/fd/ pom.xml 增加配置 ```xml org.flywaydb flyway-core 10.11.0 ``` mysql迁移 ```xml org.flywaydb flyway-mysql ``` pgsql迁移 ```xml org.flywaydb flyway-database-postgresql ``` applcation.yml 增加配置 ```yml flyway: enabled: true baseline-on-migrate: true baseline-version: 20230720000000 clean-disabled: true #指定sql文件路径 locations: - classpath:db/migration/postgresql ``` 请在每一个模块的src/main/resources/db/migration/postgresql下创建sql文件,没有请手动新增目录 迁移文件命名规则V2023072000000__create_table_note_template.sql 数字为年月日时分秒,非时间戳 开发时期可修改历史sql脚本,投产请使用新增sql文件修改数据库,禁止直接修改数据库 ### rabbitmq 添加延时队列插件 https://blog.csdn.net/zsh66666666/article/details/131077656