Skip to content

Commit

Permalink
fix:部署优化
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Sep 23, 2022
1 parent 27783f2 commit 2872d6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration-testing-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
export STORE_MODE=sqldb
echo "cur STORE MODE=${STORE_MODE}"
# 设置严格模式
mysql -h127.0.0.1 -P3306 -uroot -p"polaris" -e "set sql_mode='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'";
# 清空数据
mysql -h127.0.0.1 -P3306 -uroot -p"polaris" -e "DROP DATABASE IF EXISTS polaris_server";
# 初始化 polaris 数据库
Expand All @@ -108,6 +110,8 @@ jobs:
sleep 10s
# 设置严格模式
mysql -h127.0.0.1 -P3306 -uroot -p"polaris" -e "set sql_mode='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'";
# 清空数据
mysql -h127.0.0.1 -P3306 -uroot -p"polaris" -e "DROP DATABASE IF EXISTS polaris_server";
# 初始化 polaris 数据库
Expand Down

0 comments on commit 2872d6b

Please sign in to comment.