Sfoglia il codice sorgente

fixes db migration guid not being updated

test
Jean-Christophe Vanhalle 2 anni fa
parent
commit
734e6f2824
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. 1
    4
      migrate-db-paths.sh

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

@@ -12,9 +12,6 @@ docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
wp plugin activate wp-migrate-db && \
wp migratedb find-replace \
--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

Loading…
Annulla
Salva