[jifty-devel] restarting my model
Shawn M Moore
sartak at bestpractical.com
Tue Jul 1 16:57:41 EDT 2008
On Tue, Jul 01, 2008 at 05:11:13PM +0200, Colin Kingswood wrote:
> Hi all, I am new to Jifty and still getting my head around the concepts.
> [ ... ]
> It seems to work when I drop all of the tables, but it would be easier if I
> could get Jifty to do this
The Jifty schema command will let you drop your entire database and
recreate it in a single command:
jifty schema --drop-database --setup
This is better than just dropping tables because serial numbers start
over, and you don't have to worry about accidentally missing a table.
> I can't find anything in the documentation about how this is done (or i am
> not yet able to understand the concepts enough to realise what I need to
Yes, the docs kinda suck. :( "jifty help schema" explains this one.
More information about the jifty-devel