fixes db migration guid not being updated

This commit is contained in:
Jean-Christophe Vanhalle
2023-09-29 13:43:26 +02:00
parent 27cb4ba4ec
commit 734e6f2824

View 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