equal
deleted
inserted
replaced
1 #! /bin/bash |
1 #! /bin/bash |
2 |
2 |
3 pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d`.dump |
3 pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump |
4 ./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d`.dump |
4 ./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump |
5 ./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d`.dump |
5 ./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d%H%M%s`.dump |
6 ./bin/django schemamigration taskapp --auto |
6 ./bin/django schemamigration taskapp --auto |
7 ./bin/django migrate taskapp |
7 ./bin/django migrate taskapp |
8 |
8 |