wunderio / ddev-drupal

Work in progress of template for DDEV Drupal projects
0 stars 0 forks source link

Run post db updates after snapshot restore #6

Open hkirsman opened 5 months ago

hkirsman commented 5 months ago

I've seen at least one error after snapshot restor and clear cache helped.

Also snapshots are probably a little-bit behind the codebase so let's run the same post db import script as we do after db import.

hkirsman commented 5 months ago

Tested that this works:

  post-restore-snapshot:
    - exec: "/var/www/html/.ddev/wunderio/core/_run-scripts.sh hooks-db-post-import.sh"