Merge pull request #56 from YunoHost-Apps/testing

Fix upgrade
This commit is contained in:
oufmilo 2024-01-06 19:26:26 +01:00 committed by GitHub
commit 2791f0f376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,6 +80,7 @@ ynh_script_progression --message="Upgrading database..." --weight=1
pushd $install_dir pushd $install_dir
$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes $install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes
$install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input $install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input
$install_dir/venv/bin/python3 "$install_dir/manage.py" makemigrations --merge --no-input
$install_dir/venv/bin/python3 "$install_dir/manage.py" migrate $install_dir/venv/bin/python3 "$install_dir/manage.py" migrate
popd popd