Is this the best approach to creating an audit trail?

后端 未结 6 476
滥情空心
滥情空心 2021-01-01 06:05

I\'m trying to create some functionality that keeps an audit trail of how data in a given user form has been changed over time, with a dated audit at the foot of that page.

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-01 06:36

    One suggestion; this would be relatively easy to do in a database trigger. In that case, you would never have to worry about whether the code running the update remembers to add a history record.

提交回复
热议问题