From ee20dd96332b0fc0dc4fa20ac97361f51018fdb5 Mon Sep 17 00:00:00 2001 From: gregory-p Date: Fri, 9 Aug 2019 15:07:51 +0300 Subject: [PATCH] LAW-2819 update db domain fix commands --- devops/domain_db_fix.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/devops/domain_db_fix.txt b/devops/domain_db_fix.txt index 06a9f56..a6feb6b 100644 --- a/devops/domain_db_fix.txt +++ b/devops/domain_db_fix.txt @@ -8,6 +8,8 @@ wp_domain_mapping wp_site +######FOR QA ENV + update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 1 limit 1; update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 2 limit 1; @@ -19,4 +21,22 @@ update wp_blogs set domain = "qa.lawcarta.net" where blog_id = 2 limit 1; update wp_domain_mapping set domain = "qa.livecarta.com" where blog_id = 2 limit 1; -update wp_site set domain = "qa.lawcarta.net" where id =1 limit 1; \ No newline at end of file +update wp_site set domain = "qa.lawcarta.net" where id =1 limit 1; + + + +######FOR TEST QA ENV + +update wp_options set option_value = "https://dev1.lawcarta.loc" where option_id = 1 limit 1; +update wp_options set option_value = "https://dev1.lawcarta.loc" where option_id = 2 limit 1; + +update wp_2_options set option_value = "https://dev1.livecarta.loc" where option_id = 1 limit 1; +update wp_2_options set option_value = "https://dev1.lawcarta.loc/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "dev1.lawcarta.loc" where blog_id = 1 limit 1; +update wp_blogs set domain = "dev1.lawcarta.loc" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "dev1.livecarta.loc" where blog_id = 2 limit 1; + +update wp_site set domain = "dev1.lawcarta.loc" where id =1 limit 1; +