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:
parent
77d0749834
commit
0aebf6da9e
1 changed files with 1 additions and 0 deletions
|
@ -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- )
|
||||||
|
|
Loading…
Add table
Reference in a new issue