From e1e67f079e2dc7d1113ac4035d148de2d6194730 Mon Sep 17 00:00:00 2001 From: Hannes Kirsman Date: Tue, 23 Apr 2024 14:32:38 +0300 Subject: [PATCH] #6 Run post db updates after snapshot restore. --- dist/.ddev/config.wunderio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/.ddev/config.wunderio.yaml b/dist/.ddev/config.wunderio.yaml index 32226ed..9735ce0 100644 --- a/dist/.ddev/config.wunderio.yaml +++ b/dist/.ddev/config.wunderio.yaml @@ -1,6 +1,8 @@ hooks: post-import-db: - exec: "/var/www/html/.ddev/wunderio/core/_run-scripts.sh hooks-db-post-import.sh" + post-restore-snapshot: + - exec: "/var/www/html/.ddev/wunderio/core/_run-scripts.sh hooks-db-post-import.sh" post-start: # Build hook workaround to run composer install on first start. # @todo We could potentially make this more like lando build hook by creating tmp files.