Permalink
Browse files

Specified app in migration; improved on --fake migration

  • Loading branch information...
ndarville committed Jun 5, 2013
1 parent 0fb48d4 commit 109595ff6aedc4e4c19174e3a1d6f5e580997604
Showing with 6 additions and 6 deletions.
  1. +2 −2 _git-hooks/post-checkout
  2. +2 −2 build_forum.sh
  3. +2 −2 postinstall
View
@@ -21,5 +21,5 @@ if [ $NUM_EMPTY_DIRS -gt 0 ]; then
printf "\e[00;31mDeleted $NUM_EMPTY_DIRS empty directories\e[00m\n"
fi
### Migrate database. (You still need to update your fixtures, though.)
cd $(git rev-parse --git-dir) && cd .. && python manage.py schemamigration forum --auto && python manage.py migrate
### Migrate database. (Remember to keep your fixtures up-to-date.)
cd $(git rev-parse --git-dir) && cd .. && python manage.py schemamigration forum --auto && python manage.py migrate forum
View
@@ -8,9 +8,9 @@
# If you have used Pony Forum before, make sure that there is no
# forum/migrations/ folder, since that will break this script.
set -e # stops execution on error
python manage.py syncdb --noinput
python manage.py schemamigration forum --initial
python manage.py migrate forum --fake
python manage.py syncdb --noinput
python manage.py migrate forum
python _postinstall/mkadmin.py
python _postinstall/definesite.py
python _postinstall/mkplaceholders.py
View
@@ -1,8 +1,8 @@
#!/bin/sh
set -e # stops execution on error
python manage.py syncdb --noinput
python manage.py schemamigration forum --initial
python manage.py migrate forum --fake
python manage.py syncdb --noinput
python manage.py migrate forum
python _postinstall/mkadmin.py
python _postinstall/definesite.py
python _postinstall/mkplaceholders.py

0 comments on commit 109595f

Please sign in to comment.