Cool. Thanks for the confirm. It's bombing for me right now, but it's
very likely due to the changes I made so that it would skip most types
since it's mongoDB.
On Fri, Mar 30, 2012 at 4:00 PM, Anthony wrote:
>> Where should I run this scrip from? Does it matter?
>
> Just from the command line. I
>
> Where should I run this scrip from? Does it matter?
>
Just from the command line. I don't think it requires web2py at all. It's
just using the db driver to inspect the db and generate the appropriate
web2py code.
Anthony
Anthony,
Where should I run this scrip from? Does it matter?
On Thu, Mar 29, 2012 at 1:18 PM, Anthony wrote:
> Check out this
> script: http://code.google.com/p/web2py/source/browse/scripts/extract_pgsql_models.py.
> You may need to adapt it slightly for your particular database.
>
> Anthony
>
Nice. Actually I think tweaking the one Anthony provided will be
easier since this DB is a mongoDB instance, and all fields have the
same type (and no relationships to speak of).
On Thu, Mar 29, 2012 at 1:26 PM, pbreit wrote:
> Also one for MySQL:
> http://code.google.com/p/web2py/source/browse/s
Let me check it out. Looks promising.
On Thu, Mar 29, 2012 at 1:18 PM, Anthony wrote:
> Check out this
> script: http://code.google.com/p/web2py/source/browse/scripts/extract_pgsql_models.py.
> You may need to adapt it slightly for your particular database.
>
> Anthony
>
>
> On Thursday, March 29
5 matches
Mail list logo