On 8 nov, 23:10, mdipierro <[EMAIL PROTECTED]> wrote:
> if this is a SQLite db you can do
>
> db=SQDB('sqlite://../../baseapp/models/storage.db')
>
> db.define_table(.....,migrate=False) # you need to redefine the tables

I think you meant sqlite://../../baseapp/DATABASES/storage.db.
Mmf, it works great but, as we all know, redifining the tables is code
duplication.
I cannot believe you didn't found a trick yet.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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