From 2a2e0ab559a87fbb420ae02a3be4decbd094178d Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Thu, 4 May 2017 00:17:51 +0300 Subject: [PATCH] fix migrations --- bin/docker_local_init.sh | 8 ++++---- bin/migrate.sh | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/docker_local_init.sh b/bin/docker_local_init.sh index 7afd073..1b04aaa 100755 --- a/bin/docker_local_init.sh +++ b/bin/docker_local_init.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -makefile -f DockerMakefile build -makefile -f DockerMakefile up -makefile -f DockerMakefile migrate -makefile -f DockerMakefile loaddata +make -f DockerMakefile build +make -f DockerMakefile up +make -f DockerMakefile migrate +make -f DockerMakefile loaddata diff --git a/bin/migrate.sh b/bin/migrate.sh index fc58504..4087c55 100755 --- a/bin/migrate.sh +++ b/bin/migrate.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +python src/manage.py migrate contenttypes python src/manage.py migrate sites python src/manage.py migrate myauth python src/manage.py migrate