Everything can be recovered but the details of how to do it depend on an exact diagnosis of what happened.
I will try draft some guildelines for recovery. On May 21, 6:43 pm, GoldenTiger <goldenboy...@gmail.com> wrote: > I copy-pasted some models that I previosuly defined in another web2py > app, to configure models for an T3 new page. > > By mistake, I copied all content from db.py ,and pasted in configure > models, and i submitted. > > This provoked duplicated tables and variables, and an already defined > error in default controller, and in appdmin controller. > > So i don`t know how to roll back from web2py interface. I tried to > delete sqlite files created, leaving only the storage.db of T3 , with > no success. I think I did this well, maybe I am wrong. > > Editing sqlite file with external app is too tedious, so I start again > to coding, because i had only a few of data, and also it is more > funny, > > I f I were in a production environment, what should I do? > Any solution for future mistakes like this? > > How could I add code to T3 to protect me from myself? ^^ > > Thanks