Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
f91cd9f6
Commit
f91cd9f6
authored
Sep 18, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 sms-center 数据库
parent
e62ca04d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
.DS_Store
db-utils/.DS_Store
+0
-0
db_gen_config.sh
db-utils/db_gen_config.sh
+0
-4
db_schema_sync.sh
db-utils/db_schema_sync.sh
+1
-1
No files found.
db-utils/.DS_Store
deleted
100644 → 0
View file @
e62ca04d
File deleted
db-utils/db_gen_config.sh
View file @
f91cd9f6
...
@@ -99,10 +99,6 @@ elif [[ $database_name = 'offline' ]]; then
...
@@ -99,10 +99,6 @@ elif [[ $database_name = 'offline' ]]; then
# 线下白条
# 线下白条
sys_table_list
=
'goods_detail merchant operator_user'
sys_table_list
=
'goods_detail merchant operator_user'
port
=
'3311'
port
=
'3311'
elif
[[
$database_name
=
'sms-center'
]]
;
then
# 短信中心
sys_table_list
=
'current_index merchant merchant_config sms_content sms_platform'
port
=
'3311'
elif
[[
$database_name
=
'redpacket'
]]
;
then
elif
[[
$database_name
=
'redpacket'
]]
;
then
# 红包系统
# 红包系统
sys_table_list
=
'tb_activity_channel tb_dict_channel tb_dict_out_channel'
sys_table_list
=
'tb_activity_channel tb_dict_channel tb_dict_out_channel'
...
...
db-utils/db_schema_sync.sh
View file @
f91cd9f6
...
@@ -103,7 +103,7 @@ function run_sql_file()
...
@@ -103,7 +103,7 @@ function run_sql_file()
sh
$work_dir
/db_execute_sql.sh
$target_db_host
sh
$work_dir
/db_execute_sql.sh
$target_db_host
}
}
database_list
=
'cash_loan_flow contract dujiangyan financial_system fund_manage gyxd mall merchant offline payment_center qinqiong quartz redpacket risk_control s
ms-center s
pider_center xyqb xyqb_app xyqb_msg xyqb_user'
database_list
=
'cash_loan_flow contract dujiangyan financial_system fund_manage gyxd mall merchant offline payment_center qinqiong quartz redpacket risk_control spider_center xyqb xyqb_app xyqb_msg xyqb_user'
if
[[
"
$sync_db_name
"
=
"all"
]]
if
[[
"
$sync_db_name
"
=
"all"
]]
then
then
echo
"sync all database schema"
echo
"sync all database schema"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment