diff --git a/composer.json b/composer.json index 7c9695c..84e751f 100644 --- a/composer.json +++ b/composer.json @@ -70,11 +70,13 @@ "scripts": { "post-install-cmd": [ "composer configure || echo \"[FAIL] Failed to configure glued. Please make sure all env variables are set. Rerun composer configure.\"", - "echo \"Run `composer nginx` manually to pick restart this microservice\"" + "echo \"Run `composer nginx` manually to pick restart this microservice\"", + "composer migrate" ], "post-update-cmd": [ "composer configure || echo \"[FAIL] Failed to configure glued. Please make sure all env variables are set. Rerun composer configure.\"", - "echo \"Run `composer nginx` manually to pick restart this microservice\"" + "echo \"Run `composer nginx` manually to pick restart this microservice\"", + "composer migrate" ], "backup": [ "vendor/vaizard/glued-lib/src/Scripts/backup.sh"