check for new migrations
All checks were successful
dockers/pixelfed/pipeline/head This commit looks good
All checks were successful
dockers/pixelfed/pipeline/head This commit looks good
This commit is contained in:
parent
a385f624f9
commit
6111fd726c
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ gosu www-data php artisan view:cache
|
|||
echo "++++ Check for needed migrations... ++++"
|
||||
# check for migrations
|
||||
gosu www-data php artisan migrate:status | grep No && migrations=yes || migrations=no
|
||||
gosu www-data php artisan migrate:status | grep Pending && migrations=yes || migrations=no
|
||||
if [ $migrations = "yes" ];
|
||||
then
|
||||
gosu www-data php artisan migrate --force
|
||||
|
|
Loading…
Reference in a new issue