瀏覽代碼

Run pixelfed update tasks upon startup

kaiyou 6 年之前
父節點
當前提交
37713f33d0
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      contrib/docker/start.sh

+ 3 - 0
contrib/docker/start.sh

@@ -8,6 +8,9 @@ php artisan storage:link
 # Migrate database if the app was upgraded
 php artisan migrate --force
 
+# Run other specific migratins if required
+php artisan update
+
 # Run a worker if it is set as embedded
 if [ $HORIZON_EMBED = true ]; then
 	php artisan horizon &