mirror of
https://github.com/YunoHost-Apps/mygpo_ynh.git
synced 2024-09-03 19:55:52 +02:00
Fix upgrade
This commit is contained in:
parent
2869f94e43
commit
28ac94c05a
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function upgrade_db {
|
|||
}
|
||||
|
||||
function perform_db_migrations {
|
||||
ynh_exec_warn_less ynh_exec_as $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations --merge
|
||||
echo "y" | ynh_exec_warn_less ynh_exec_as $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations --merge
|
||||
ynh_exec_warn_less ynh_exec_as $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py migrate
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue