CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Add updated_at, updated_by, created_at, created_by to relevant entities #1102

Closed Wardormeur closed 6 years ago

Wardormeur commented 7 years ago

It may be interesting to do a lib to encapsulate any entity using such, aka seneca-entity-auditor which would either add those columns to the entity, or log it to an external table. The columns should be updated_at, updated_by, created_at, created_by (and entity-name, entity-id in case of separate table) The entities decorated should be :

Wardormeur commented 7 years ago

plugin started : https://github.com/wardormeur/seneca-entity-tracker

Wardormeur commented 6 years ago

This will not be pushed forward as

The solution will be to add those columns when necessary, or decide on a framework that can handle that for us for analytical purpose solely