mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Run v1.0.3 app migration
This commit is contained in:
parent
dc58eea5f9
commit
ea39916a76
1 changed files with 13 additions and 0 deletions
|
@ -226,6 +226,19 @@ pushd $final_path/$app
|
||||||
sudo -u "$app" MIX_ENV=prod mix ecto.migrate
|
sudo -u "$app" MIX_ENV=prod mix ecto.migrate
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RUN APP MIGRATIONS
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
if ynh_version_gt "1.0.3~ynh1" "${previous_version}" ; then
|
||||||
|
|
||||||
|
ynh_script_progression --message="Mobilizon v1.0.3: Refresh remote profiles to save avatars locally"
|
||||||
|
pushd $final_path/$app
|
||||||
|
sudo -u "$app" MIX_ENV=prod mix mobilizon.actors.refresh --all
|
||||||
|
popd
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE THE CONFIG FILE CHECKSUM
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue