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.
Ulric Qin d254e5670b
rebuild table collect_rule
4 years ago
..
upgrade rebuild table collect_rule 4 years ago
README.md upgrade 3.4.0 4 years ago
n9e_ams.sql add host fields 4 years ago
n9e_hbs.sql add patch sql for hbs 4 years ago
n9e_job.sql 3.0.0 4 years ago
n9e_mon-patch.sql 3.5.0 release 4 years ago
n9e_mon.sql remove sql.mon.collect_rule.created (#542) 4 years ago
n9e_rdb-patch.sql move patch sql to 3.4.0 4 years ago
n9e_rdb.sql Dev (#487) 4 years ago

README.md

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