Skip to content

Add audit system #28

@Nsohko

Description

@Nsohko
  1. Make it so all entries are 'soft-deleted' => So the should still be retrievable in the future if needed
    I think prisma should support a nice way of doing this, but we will need to look into it

  2. Create some kind of auditing table that keeps track of operations on the db
    I think there are probably examples of this online
    If possible, it would be nice to view this by Logs / Admin from the UI. For example :-

  • Maybe can see a loan history for each item
  • If possible, have a new tab that lists action on the db (and who it is by). Idk if this is possible in a nice way though, if not just the audit table in the db is enough

Metadata

Metadata

Assignees

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