Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Move approvals / rejections to separate table #62

@cvburgess

Description

@cvburgess

This is a database and logic migration.

Currently approving or unapprotving a blurb/edition is a boolean flag ( isApproved ) on the entity.

Post-mirgation, the entity should still have this boolean but it should be a computed property based upon a new DB table that contains a record of every approval or rejection (approved being toggled to false) so that there is a history to look back on.

isApproved should be FALSE if there are ( 1 ) no approvals or ( 2 ) the most recent record is a rejection
isApproved should be TRUE if there the most recent record for that entity is an approval

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions