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
28108291
Commit
28108291
authored
Jan 16, 2018
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
f02349fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db_gen_config.sh
db-utils/db_gen_config.sh
+1
-1
db_schema_sync.sh
db-utils/db_schema_sync.sh
+1
-1
No files found.
db-utils/db_gen_config.sh
View file @
28108291
...
@@ -43,7 +43,7 @@ cache_dir=/home/daily_db_backup
...
@@ -43,7 +43,7 @@ cache_dir=/home/daily_db_backup
# exit 1
# exit 1
# fi
# fi
echo
"prepare to get port"
echo
"prepare to get
source_
port"
if
[[
$database_name
=
'xyqb'
]]
;
then
if
[[
$database_name
=
'xyqb'
]]
;
then
# 信用钱包database
# 信用钱包database
sys_table_list
=
'baitiao_merchant baitiao_secure_key channel funding_contract funding_corp loan_product merchant_channel payeco_return_url_info red_packet t_phonenum zmxy_return_url configuration secure_proxy funding_corp_config funding_info_map baitiao_preferential_rule funding_corp_policy'
sys_table_list
=
'baitiao_merchant baitiao_secure_key channel funding_contract funding_corp loan_product merchant_channel payeco_return_url_info red_packet t_phonenum zmxy_return_url configuration secure_proxy funding_corp_config funding_info_map baitiao_preferential_rule funding_corp_policy'
...
...
db-utils/db_schema_sync.sh
View file @
28108291
...
@@ -71,7 +71,7 @@ function db_schema_sync()
...
@@ -71,7 +71,7 @@ function db_schema_sync()
echo
"--- Step 1: generate_config_file:
$config_file_name
---"
echo
"--- Step 1: generate_config_file:
$config_file_name
---"
echo
"source infos:
$source_db_host
$source_db_user
"
echo
"source infos:
$source_db_host
$source_db_user
"
echo
"target infos:
$target_db_host
$target_db_
user
"
echo
"target infos:
$target_db_host
$target_db_
port
$target_db_user
"
echo
"database_name is :
$database
"
echo
"database_name is :
$database
"
echo
"delete_business_data :
$delete_business_data
"
echo
"delete_business_data :
$delete_business_data
"
echo
"use_cache :
$use_cache
"
echo
"use_cache :
$use_cache
"
...
...
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