or you can use a sqlite memory table that will be clean up when the server is stop. by the way TG comes with one preconfigure so if you have sqlite install just run your code and it will create the "default db"

On 7/21/06, Martin Geisler <[EMAIL PROTECTED]> wrote:
"OriginalBrownster" <[EMAIL PROTECTED]> writes:

> However I would like to clear out this database and start fresh..but
> i dont want to have to go into the toolbox all the time and do this.
>
> Anyone know how this can be done?

You can clear the database quickly by doing

% tg-admin sql drop

This will delete your tables and the data with it.  You can then
recreate the tables with

% tg-admin sql create

I hope this was what you meant...

--
Martin Geisler  ---  <[EMAIL PROTECTED]>  ---  http://mgeisler.net

Read, write, create Exif data in PHP with PEL:       http://pel.sf.net
Take control of your webserver with PHP Shell:  http://phpshell.sf.net




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to