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

View file

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