It was critical :)

I ended up adding migrate=False. using db.export_to_csv, dropping the
database, creating the database, remove migrate, and db.import_from_csv.

Next time, It would be nice to be able to just rebuild the files >.<

Ran the rm command, didn't notice I was on my remote console instead of my
local =/

-Thadeus




On Mon, Nov 2, 2009 at 4:30 PM, mdipierro <[email protected]> wrote:

>
> They can be rebuilt. But I do not have a script for doing that. I can
> write instructions if that becomes crytical.
>
> On Nov 2, 3:46 pm, Thadeus Burgess <[email protected]> wrote:
> > If you accidentally delete all the files under databases on a production
> > app... This is a problem..
> >
> > migrate=False on every table? Or should the database be rebuilt?
> >
> > How to disable migrations on the auth table?
> >
> > -Thadeus
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to