There is no API to do this.

On Nov 16, 7:02 am, Carlos <[email protected]> wrote:
> Thanks villas, I know about the table inheritance, but I was referring
> to extending tables already "defined", e.g. adding new fields to
> auth_membership after auth.define_tables().
>
> Regards,
>
>    Carlos
>
> On Nov 16, 3:47 am, villas <[email protected]> wrote:
>
> > Hi Carlos
>
> > Take a look at Table Inheritance:
>
> >http://web2py.com/book/default/chapter/06#Table-Inheritance
>
> > Regards,
> > D
>
> > On Nov 16, 12:48 am, Carlos <[email protected]> wrote:
>
> > > Hi,
>
> > > Is it possible to extend previously defined tables with new fields?.
>
> > > For reference, I want to add a new field in the auth_membership table,
> > > but without having to "copy & paste" the table definition (which is
> > > not a good practice).
>
> > > Or what would you recommend?.
>
> > > Thanks,
>
> > >    Carlos
>
>

Reply via email to