idhub.entrypoint: makemigrations not needed

supposedly you should have all the migrations from the source code or
git repository
This commit is contained in:
pedro 2024-04-03 13:00:33 +02:00
parent c3f3bdf831
commit 300f705bf7
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ deployment_strategy() {
# detect if existing deployment (TODO only works with sqlite) # detect if existing deployment (TODO only works with sqlite)
if [ -f "${idhub_dir}/db.sqlite3" ]; then if [ -f "${idhub_dir}/db.sqlite3" ]; then
echo "INFO: detected EXISTING deployment" echo "INFO: detected EXISTING deployment"
./manage.py makemigrations
./manage.py migrate ./manage.py migrate
# warn admin that it should re-enter password to keep the service working # warn admin that it should re-enter password to keep the service working