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
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 abasta...@gmail.com wrote:
Where should I run this scrip from? Does it matter?
Just from the
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, 2012 1:14:56 PM UTC-4, rdodev wrote:
All,
Is it possible to have the DAL create/discover
Let me check it out. Looks promising.
On Thu, Mar 29, 2012 at 1:18 PM, Anthony abasta...@gmail.com 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
Also one for MySQL:
http://code.google.com/p/web2py/source/browse/scripts/extract_mysql_models.py
On Thursday, March 29, 2012 1:26:54 PM UTC-4, pbreit wrote:
Also one for MySQL:
http://code.google.com/p/web2py/source/browse/scripts/extract_mysql_models.py
I think the other one is a little more thorough, so may be better even for
MySQL.
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 pbreitenb...@gmail.com wrote:
Also one for MySQL:
7 matches
Mail list logo