Code

Changes between Version 1 and Version 2 of DatabaseReset


Ignore:
Timestamp:
07/19/07 08:32:55 (7 years ago)
Author:
Carl Karsten <carl@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseReset

    v1 v2  
    1 Q: how do I blow away my db and or load it with data? 
     1Q: how do I blow away my db and or load it with data?  and other qestions often answered by me pasting this code. 
    22 
    3 {{{# resetdb.sh 
     3 
     4{{{ 
     5# resetdb.sh 
    46# blows away the old db, builds a new one and migrates data. 
    57set -x 
     
    1012}}} 
    1113 
    12 {{{#!/usr/bin/env python 
     14{{{ 
     15#!/usr/bin/env python 
    1316# mkdbuser.py 
    1417# prints the CREATE DATABASE and GRANT commands based on the local settings.py