Skip to content
Permalink
f289774945
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 17 lines (14 sloc) 594 Bytes
#!/bin/bash
pth=$(pwd)
prjdir=${pth%/*}
# Reset migrations for database
python manage.py migrate --settings=eoasite.settings_local --fake eoa
python manage.py migrate --settings=eoasite.settings_local --fake
rm -rf eoa/migrations/*
touch eoa/migrations/__init__.py
#cd $prjdir
python manage.py makemigrations eoa --settings=eoasite.settings_local
python manage.py migrate eoa --settings=eoasite.settings_local
python manage.py makemigrations --settings=eoasite.settings_local
python manage.py migrate --settings=eoasite.settings_local
python manage.py test --settings=eoasite.settings_local