Than you can do:
from gluon import *
from gluon.dal import ADAPTERS, UseDatabaseStoredFile,SQLiteAdapter
class MySQLiteAdapter(UseDatabaseStoredFile, SQLLiteAdapter): pass
ADAPTERS['sqlite:custom'] = MySQLiteAdapter
db = DAL('sqlite:custom://....')
and the .table will go in the database itself.
On Tuesday, 16 July 2013 09:19:14 UTC-5, Juan BC wrote:
>
>
>
> On Tuesday, 16 July 2013 09:51:22 UTC-3, Alan Etkin wrote:
>>
>> Why 1? .table is there exactly to allow you to do what you are trying to
>>> do.
>>
>>
>> I think Juan wants to avoid writing those .table files to the filesystem.
>> I'm not sure that is supported. Would it (or is it currently) possible to
>> make the migrations without using the filesystem, for example retrieving
>> and storing the metadata in memory for each modification of the model?
>>
>
> Given the nature of my project, i don't want to store any data of my
> project outside the datbase itself
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.