hackforla / HomeUniteUs

We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
https://homeunite.us/
GNU General Public License v2.0
36 stars 21 forks source link

Design and implement initial state machine database model for all business entities #391

Open tylerthome opened 2 years ago

tylerthome commented 2 years ago

Overview

Define the base schema(s) to be used for stateful entities in the HUU logical business model

Action Items

Resources/Instructions

tylerthome commented 2 years ago

An important requirement to bear in mind for this task is that we will need two sets of dynamic state types that will vary by organization:

For the initial pass at the state machine or statechart, consider these as aggregate states e.g. awaiting_all_documents_submitted and awaiting_all_trainings_completed (feel free to change the naming convention, another alternative for these examples could be host_submitting_documents and host_completing_trainings or any that clearly represent the state)

tylerthome commented 2 months ago

As part of the existing work underway for the basic features, this requirement will be satisfied using the PostgreSQL transaction log directly, or an integration with e.g. RedHat's Debezium