mirror of
https://github.com/YunoHost-Apps/mygpo_ynh.git
synced 2024-09-03 19:55:52 +02:00
use makemigrations --merge
on migrate
This commit is contained in:
parent
c2c70ec509
commit
cefa3e34e4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function upgrade_db {
|
||||||
}
|
}
|
||||||
|
|
||||||
function perform_db_migrations {
|
function perform_db_migrations {
|
||||||
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations
|
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py makemigrations --merge
|
||||||
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py migrate
|
sudo -u $app $final_path/venv/bin/envdir $env_path $final_path/venv/bin/python $final_path/manage.py migrate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue