Files
dax-pay/_config/sql/README.md
2025-11-17 18:23:21 +08:00

15 lines
919 B
Markdown
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.
# SQL脚本说明
## 注意事项
- 默认只提供postgresql的SQLMySQL数据脚本可以根据教程自行转换[PG转MySQL脚本流程](https://yibeiguangnian.feishu.cn/wiki/ZyiYwwfCfiv9TBkt8kIcjubynvs)
- 项目中不直接提供历史SQL文件如果需要可以去飞书[系统安装包](https://yibeiguangnian.feishu.cn/wiki/ITXMw7riaiifVdkn1Zwc2sWYnJh)中下载历史版本
- 项目中不直接提供历史SQL文件如果需要可以查看项目的历史版本其中的SQL文件就是对应的历史版本
- 全新安装的脚本执行顺序tables.sql -> datas.sql
- 升级脚本执行顺序update-tables.sql -> update-datas.sql提供的更新版本是上一个版本升级到当前版本所对应的SQL文件不能跨版本升级
## 脚本介绍
- tables.sql创建表结构(全量)
- datas.sql表数据(全量)
- update-tables.sql更新表结构
- update-datas.sql更新数据