Skip to content

Commit 7fdc7ff

Browse files
author
Mike Doubintchik
committed
Fix database export on sync-db scripts
1 parent 5f07303 commit 7fdc7ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sync-db-from-dev.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ read -r -p "Do you solemnly swear that you have had fewer than 2 alcoholic bever
33
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]
44
then
55
wp @production db reset --yes
6-
wp @development db export - > sql-dump-development.sql
6+
wp @development db export -> sql-dump-development.sql
77
wp @production db import sql-dump-development.sql
88
wp @production search-replace https://imagewize.dev https://imagewize.nl --skip-columns=guid
99
else

sync-db-from-prod.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ read -r -p "Do you solemnly swear that you have had fewer than 2 alcoholic bever
33
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]
44
then
55
wp @development db reset --yes
6-
wp @production db export - > sql-dump-production.sql
6+
wp @production db export -> sql-dump-production.sql
77
wp @development db import sql-dump-production.sql
88
wp @development search-replace https://imagewize.nl http://imagewizenl.dev --skip-columns=guid
99
else

0 commit comments

Comments
 (0)