You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/01/30 17:58:43 UTC
[06/11] incubator-trafficcontrol git commit: more cleanup
more cleanup
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/c6253f15
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/c6253f15
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/c6253f15
Branch: refs/heads/master
Commit: c6253f1565abf7c532d49b062db4eaa976b7a078
Parents: 2178bba
Author: Dewayne Richardson <de...@apache.org>
Authored: Fri Jan 27 13:57:54 2017 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Jan 30 10:58:07 2017 -0700
----------------------------------------------------------------------
traffic_ops/app/db/pg-migration/migrate.sh | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c6253f15/traffic_ops/app/db/pg-migration/migrate.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/pg-migration/migrate.sh b/traffic_ops/app/db/pg-migration/migrate.sh
index b0632e1..3988845 100755
--- a/traffic_ops/app/db/pg-migration/migrate.sh
+++ b/traffic_ops/app/db/pg-migration/migrate.sh
@@ -15,9 +15,6 @@
. mysql-to-postgres.env
-MYSQL_PORT=3306
-POSTGRES_PORT=5432
-
separator="---------------------------------------"
function shutdown_trafficops_database() {
@@ -51,11 +48,12 @@ function start_staging_postgres_server() {
echo $separator
}
+
function run_postgres_datatypes_conversion() {
- echo $separator
- echo "Starting Mysql to Postgres Migration..."
- echo $separator
- docker-compose -p trafficops -f convert.yml up --build
+ echo $separator
+ echo "Starting Mysql to Postgres Migration..."
+ echo $separator
+ docker-compose -p trafficops -f convert.yml up --build
}