1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Correct DB migration 2

This commit is contained in:
Limezy 2021-09-23 18:52:21 +02:00
parent 60e928f24e
commit 2106456048

View file

@ -233,6 +233,8 @@ chown $app:$app "$final_path/.env"
# RUN DB MIGRATION
#=================================================
ynh_script_progression --message="Running DB initial migration..."
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn db:migrate
popd