1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snipeit_ynh.git synced 2024-09-03 20:26:16 +02:00

Fix artisan migrate

This commit is contained in:
Kay0u 2020-01-05 19:02:48 +08:00
parent b6e44548cd
commit ecae077572
No known key found for this signature in database
GPG key ID: 7FF262C033518333
2 changed files with 3 additions and 3 deletions

View file

@ -194,8 +194,8 @@ ynh_replace_string "yunodomain" "$domain" "$final_path/.env"
ynh_replace_string "__LANGUAGE__" "$language" "$final_path/.env" ynh_replace_string "__LANGUAGE__" "$language" "$final_path/.env"
# setup application config # setup application config
( cd $final_path && sudo /usr/bin/php artisan key:generate -n --env) ( cd $final_path && sudo /usr/bin/php artisan key:generate -n --force --env)
( cd $final_path && sudo /usr/bin/php artisan migrate -n ) ( cd $final_path && sudo /usr/bin/php artisan migrate -n --force)
( cd $final_path && sudo /usr/bin/php artisan config:clear -n) ( cd $final_path && sudo /usr/bin/php artisan config:clear -n)
( cd $final_path && sudo /usr/bin/php artisan config:cache -n) ( cd $final_path && sudo /usr/bin/php artisan config:cache -n)

View file

@ -145,7 +145,7 @@ ynh_install_composer
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
( cd $final_path && sudo /usr/bin/php artisan migrate -n ) ( cd $final_path && sudo /usr/bin/php artisan migrate -n --force)
( cd $final_path && sudo /usr/bin/php artisan config:clear -n ) ( cd $final_path && sudo /usr/bin/php artisan config:clear -n )
( cd $final_path && sudo /usr/bin/php artisan config:cache -n ) ( cd $final_path && sudo /usr/bin/php artisan config:cache -n )