lundi 11 janvier 2016

Eloquent Events or Alternatives

I am hoping that someone would be able to give me some advice or direction.

I have multiple tables, these tables have created_by and updated_by columns. I use these fields to determine who created the record and also who modified it last. ( Just a quick and simple method to audit changes).

I have 2 questions if I may: 1. Is this a good way to do auditing (keeping track of the creator / modifier)? 2. What is the best way to update these fields. Do I make use of Eloquent events or is there a better alternative? Any pointers would be awesome.

Thank you!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire