author | Madhusudan.C.S <madhusudancs@gmail.com> |
Sun, 16 Jan 2011 23:17:13 +0530 | |
changeset 431 | fcc87a3f0311 |
parent 416 | 265dbd81c451 |
child 441 | 10f16121a46b |
permissions | -rwxr-xr-x |
413 | 1 |
#! /bin/bash |
2 |
||
3 |
sudo -u postgres dropdb pytask |
|
4 |
sudo -u postgres createdb -O pytask pytask |
|
416
265dbd81c451
Remove initial south migrations also during reset of the database.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
413
diff
changeset
|
5 |
rm -r pytask/profile/migrations/ |
265dbd81c451
Remove initial south migrations also during reset of the database.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
413
diff
changeset
|
6 |
rm -r pytask/taskapp/migrations/ |
265dbd81c451
Remove initial south migrations also during reset of the database.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
413
diff
changeset
|
7 |
./bin/django schemamigration profile --initial |
265dbd81c451
Remove initial south migrations also during reset of the database.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
413
diff
changeset
|
8 |
./bin/django schemamigration taskapp --initial |
413 | 9 |
./bin/django syncdb |
10 |
./bin/django migrate profile |
|
11 |
./bin/django migrate taskapp |
|
12 |
./bin/django loaddata sites_fixture.json |
|
13 |