It worked out, thanks! Thread closed.
2011/6/9 Anthony abasta...@gmail.com
On Thursday, June 9, 2011 6:59:34 PM UTC-4, Thiago wrote:
I have this auth_user table, and another table called activities. This
activities have 2 fields that are foreing keys to user (created by and
modified by). If
Hi,
I'm new to web2py, but familiar to similar frameworks. I have a system that
uses web2py builtin auth_user table. The problem is that I wanna use
ondelete='NO ACTION' in my app (it is CASCADE by default), and I don't know
how to put it in the model file. Anyone can help?
Att.
Thiago
I have this auth_user table, and another table called activities. This
activities have 2 fields that are foreing keys to user (created by and
modified by). If I delete any user that created or modified one activity,
the activity is deleted.
Do I have to put NO ACTION in all fields that is foreign
3 matches
Mail list logo