scripts/taskapp_schemamigration.sh
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 17:42:46 +0530
changeset 498 9f04b7bcc333
parent 492 89f8e4266b1f
permissions -rwxr-xr-x
Add a new templatetag to render modified on and by line in documents. Add the necessary div tags, html templates, templatetag function and the CSS to give necessary layout and styling.

#! /bin/bash

pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d%H%M%s`.dump
./bin/django schemamigration taskapp --auto
./bin/django migrate taskapp