You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
439 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## sql 的维护
- n9e_{module}.sql 完整的sql
- n9e_{module}-path.sql 增量的sql
## sql 的版本发布
在使用 git tag 之前,将特定版本的增量文件固化下来
```
module=rdb
version=v3.3.3
cat n9e_${module}-patch.sql > upgrade/n9e_${module}-${version}.sql
echo > n9e_${module}-patch.sql
# 然后提交更改后再打上版本的tag
git add .
git commit -a -m "${version} release"
git tag ${version}
git push
```