且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

客户端使用的数据库历史

更新时间:2022-10-15 14:09:51

I have used very successfully a model where every table has an audit copy - the same table with a few additional fields (time stamp, user id, operation type), and 3 triggers on the first table for insert/update/delete.
I think this is a very good way of handling this, because tables and triggers can be generated from a model and there is little overhead from a management perspective. The application can use the tables to show an audit history to the user (read-only).

相关阅读

技术问答最新文章