I need to add fields to t2 tables, like t2_person and t2_group, and
have seen prior posts to do this and I have done that, but it would be
desirable a function that do an alter table to add fields to already
created tables that comes hard coded in plugins like t2 and t3
Ej.
You have db.t2_person table and want to add the field nickname
db.t2_person.add_field('nickname','string',default='nobody')
with all the SQLField parameters...
or
db.add_field('t2_person','nickname','string',default='nobody')
with all the SQLField parameters...

I think that migrate have many of the code to do this?

I have to post on WEP's?

Mauricio

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

Reply via email to