idhub.entrypoint: makemigrations not needed
supposedly you should have all the migrations from the source code or git repository
This commit is contained in:
parent
c3f3bdf831
commit
300f705bf7
|
@ -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
|
||||||
|
|
Reference in New Issue