Skip to content

"Changes" table for sources app #1178

@pgulley

Description

@pgulley

As a first step in our imminent collections overhaul, we want to implement a 'changes' table, that just appends records for each CRUD event in the collections application. @rahulbot has suggested a record like: "user_id, timestamp, category: str, action: str, details: str". Ideal would be to have a decorator or single line of code we can slip into the endpoints that just writes a record for every event. Ideally we make no new views for this, just add an admin table so we can monitor changes as they occur.

Tasks:

  1. Agree on a schema
  2. A little research on the ideal integration pattern
  3. Create the table and integration point
  4. Register admin app.

I'll drop in thoughts on point 2 shortly. If we have agreement on the schema I can break ground on this tomorrow.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions