创建目标数据库时增加目标服务器是否包含对应库的判断

main
rogersun 1 week ago
parent b0efab0df1
commit ff7f1c6c07
  1. 2
      update/utils/git_util.py

@ -185,7 +185,7 @@ class GitUtil:
# 写入cine.sql # 写入cine.sql
def handle_create_cine(self): def handle_create_cine(self):
# 如果生成了新的文件则写库,如果sql没有变化则跳过 # 如果生成了新的文件则写库,如果sql没有变化则跳过
if self.create_cine_sql() and self.template_db_exist(): if self.create_cine_sql() or self.template_db_exist():
self.write_cine_sql_by_mysql() self.write_cine_sql_by_mysql()
return '成功' return '成功'

Loading…
Cancel
Save