Hi, web2py should be kept as simple as possible. In this case,
migration should be done explicitly and seperately.

On Fri, Jul 24, 2009 at 09:49, mdipierro<mdipie...@cs.depaul.edu> wrote:
>
> This functionality could be included in the new DAl but there is a
> workflow issue perhaps you can help me brainstorm it and resolve it.
>
> If we do, web2py will have three source of information that may be
> conflicting:
> 1) the table description from the model
> 2) the table description from the metadata
> 3) the table description as surrently in DB
>
> without 3) web2oy assume that 1) overrides 2) and eventually does a
> migration. If we have 3 sources of conflicting information how do we
> decide which action to take (migrate? how? what is right?). To me the
> workflow become nontrivial and may not be obvious what needs to be
> done.
>
> Massimo
>
> On Jul 24, 2:03 am, Boriel <bor...@gmail.com> wrote:
>> The script I sent several days ago is about that, but at the moment it only
>> accepts mysql databases.
>> I'll be working on it the next week.
>>
>> Regards,
>> Boriel
>>
>>
>>
>> On Fri, Jul 24, 2009 at 07:51, Hans Donner <hans.don...@pobox.com> wrote:
>>
>> > I think this would be a perfect tool for a web2py toolkit (seperate
>> > from the main web2py).
>>
>> > On Fri, Jul 24, 2009 at 05:38, Alexandre
>> > Andrade<alexandrema...@gmail.com> wrote:
>> > > Leandro,
>>
>> > > I announced some time ago start in a script/aplication in web2py to do
>> > that
>> > > with postgresql. But since them I have so many projects, and could not
>> > > advanced.
>>
>> > > I posted a roadmap to do that too. (search for my posts at google
>> > groups).
>>
>> > > What database you use?
>>
>> > > Mail me in private email to talk about this.
>>
>> > > 2009/7/23 Leandro - ProfessionalIT <lsever...@gmail.com>
>>
>> > >> Hi,
>> > >>  It's possible import a SQL Schemma Database into a model.py ?
>>
>> > >>  I have a big legacy database(with many tables) and I want generate
>> > >> the model class from database( If this possbile !).
>>
>> > >>  Any idea ?
>>
>> > > --
>> > > Atenciosamente
>>
>> > > --
>> > > =========================
>> > > Alexandre Andrade
>> > > Hipercenter.com
>>
>> --
>> Boriel      http://www.boriel.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to