changeset 485 | e56d4bb15349 |
child 492 | 89f8e4266b1f |
484:d2a4fcbe2fae | 485:e56d4bb15349 |
---|---|
1 #! /bin/bash |
|
2 |
|
3 pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d`.dump |
|
4 ./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d`.dump |
|
5 ./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d`.dump |
|
6 ./bin/django schemamigration taskapp --auto |
|
7 ./bin/django migrate taskapp |
|
8 |