1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

force migration for database

This commit is contained in:
anmol 2020-10-17 03:49:02 +05:30
parent 77d0749834
commit 0aebf6da9e

View file

@ -141,6 +141,7 @@ ynh_replace_string --match_string="language" --replace_string="$language" --targ
ynh_script_progression --message="Deploying..." ynh_script_progression --message="Deploying..."
pushd "$final_path" pushd "$final_path"
php$phpversion artisan monica:update --force
php$phpversion artisan setup:production --email=$email --password=$password -vvv -n php$phpversion artisan setup:production --email=$email --password=$password -vvv -n
php$phpversion artisan passport:client --password -n > key.txt php$phpversion artisan passport:client --password -n > key.txt
mobile_id=$( cd $final_path && tail -2 key.txt | head -1 | cut -c 12- ) mobile_id=$( cd $final_path && tail -2 key.txt | head -1 | cut -c 12- )