Commit 063e2558 authored by 智勇's avatar 智勇

add user_credit

parent 5c5cec3f
......@@ -129,6 +129,10 @@ elif [[ $database_name = 'xyqb_btzt' ]]; then
sys_table_list='zt_channel zt_fund zt_fund_channel zt_fund_credit zt_fund_term'
source_db_host='192.168.4.116'
port='7001'
elif [[ $database_name = 'user_credit' ]]; then
# user_credit
sys_table_list=''
port='9001'
elif [[ $database_name = 'notify' ]]; then
# 通知
sys_table_list='merchant merchant_config'
......
......@@ -102,8 +102,8 @@ function run_sql_file()
sh $work_dir/db_execute_sql.sh $target_db_host $sync_db_name
}
database_list='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd mall merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center xyqb xyqb_app xyqb_btzt xyqb_user'
database_list2='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center xyqb xyqb_app xyqb_btzt xyqb_user'
database_list='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd mall merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center user_credit xyqb xyqb_app xyqb_btzt xyqb_user'
database_list2='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center user_credit xyqb xyqb_app xyqb_btzt xyqb_user'
if [[ "$sync_db_name" = "all" ]]
then
echo "sync all database schema"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment