Browse Source

fixes db migration guid not being updated

test
Jean-Christophe Vanhalle 2 years ago
parent
commit
734e6f2824
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      migrate-db-paths.sh

+ 1
- 4
migrate-db-paths.sh View File

wp plugin activate wp-migrate-db && \ wp plugin activate wp-migrate-db && \
wp migratedb find-replace \ wp migratedb find-replace \
--find='"//${REMOTE_WP_URL}"','"${REMOTE_WP_PATH}"' \ --find='"//${REMOTE_WP_URL}"','"${REMOTE_WP_PATH}"' \
--replace='"//${APP_URL}"',/var/www/html \
--skip-replace-guids \
--exclude-post-revisions \
--exclude-spam
--replace='"//${APP_URL}"',/var/www/html
' '
+date +%H-%M-%S +date +%H-%M-%S

Loading…
Cancel
Save