Enrico, In the sample MySQL trigger code of my previous message, you'll see that I always store, in the primary table, the string username of the most recent user to update the table. Therefore, that value is available to the DB trigger as NEW.update_user. --Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. On 1/22/17 7:37 AM, enrico baranski
wrote:
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/193ab42b-0e2b-e81e-bd71-c1ab63ee7d60%40bristle.com. For more options, visit https://groups.google.com/d/optout. |
- audit trail functionality in database model enrico baranski
- Re: audit trail functionality in database model Mike Dewhirst
- Re: audit trail functionality in database model enrico baranski
- Re: audit trail functionality in database model Fred Stluka
- Re: audit trail functionality in database model enrico baranski
- Re: audit trail functionality in database mod... enrico baranski
- Re: audit trail functionality in database... Fred Stluka
- Re: audit trail functionality in database mod... Fred Stluka
- Re: audit trail functionality in database model Melvyn Sopacua
- Re: audit trail functionality in database model Ryan Castner
- Re: audit trail functionality in database model enrico baranski