Re: [web2py] Script to generate schema (models) from mysql

2010-10-03 Thread Álvaro Justen [Turicas]
On Sun, Oct 3, 2010 at 19:37, Alexandre Andrade wrote: > Alvaro, > > I didn't see this post before. > > this can be a great feature and I will trye to adapt it to postgresql and > mysql, at least. > > if massimo already don't use it, with sqlite, postresql and mysql, it can > worth the value. Ple

Re: [web2py] Script to generate schema (models) from mysql

2010-10-03 Thread Alexandre Andrade
Alvaro, I didn't see this post before. this can be a great feature and I will trye to adapt it to postgresql and mysql, at least. if massimo already don't use it, with sqlite, postresql and mysql, it can worth the value. 2010/6/11 Álvaro Justen > Hello Alexandre, nice work. > I did it in pa

Re: [web2py] Script to generate schema (models) from mysql

2010-06-10 Thread Jean Guy
I'm sorry I didn't have time to look at the script... I try to look at it in the near future. Jonhy 2010/5/22 Alexandre Andrade > I can adapt it on demand to any database for just $100. > Obviously it will be returned to community too. > > I usualy use only mysql, postresql, sqlite and now mo

Re: [web2py] Script to generate schema (models) from mysql

2010-05-22 Thread Alexandre Andrade
I can adapt it on demand to any database for just $100. Obviously it will be returned to community too. I usualy use only mysql, postresql, sqlite and now mongo (nosql). This are the only one I will maybe do it sometime for free. -- Atenciosamente -- = Alexandre Andra

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
To each new database, need to be adusted ( in a new script): 1 - the database driver (mysqlb is for mysql) 2 - maybe the sql sintax to select table and fields 3 - the treatment of result of select tables and field can need adjustments 4 - the field_type function have to be adjusted. My first opti

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
I will need to be adapted. look my answer to Jonhy email. 2010/5/21 Nicol van der Merwe > Nice! This is super excellent. > > Just a simple question : will this work on SQL Server? > > > On Fri, May 21, 2010 at 1:37 AM, Alexandre Andrade < > alexandrema...@gmail.com> wrote: > >> Some time ago

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Alexandre Andrade
To each new database, need to be adusted ( in a new script): 1 - the database driver (mysqlb is for mysql) 2 - maybe the sql sintax to select table and fields 3 - the treatment of result of select tables and field can need adjustments 4 - the field_type function have to be adjusted. My first opti

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Jean Guy
Hi, Could it be port to all database this way : http://blog.gmane.org/gmane.comp.python.sqlobject/month=20100101 SQLObject ?? Jonhy 2010/5/20 Alexandre Andrade > Some time ago I talk about to do it. > > Finally I have to do it. > > It can be improved to a form in appadmin, use the model to

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Nicol van der Merwe
Oops! Stupid me. :) Just read the *entire* subject now "Script to generate schema (models) from *mysql*". So obviously - not for SQL Server. *sigh* it's been a long day. On Fri, May 21, 2010 at 3:59 PM, Nicol van der Merwe wrote: > Nice! This is super excellent. > > Just a simple question : will

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Jean Guy
Hi, Really nice! I haven't try it, but I have to do the importation of postgresql database into a web2py model. I was just wondering if you can pointed the place that should be adapt for postgresql, I will change it and return the running code for postgresql. Thanks. Jonhy 2010/5/20 Alexandre

Re: [web2py] Script to generate schema (models) from mysql

2010-05-21 Thread Nicol van der Merwe
Nice! This is super excellent. Just a simple question : will this work on SQL Server? On Fri, May 21, 2010 at 1:37 AM, Alexandre Andrade wrote: > Some time ago I talk about to do it. > > Finally I have to do it. > > It can be improved to a form in appadmin, use the model to another db > (postgr