Skip to content

Commit

Permalink
chore: align images
Browse files Browse the repository at this point in the history
  • Loading branch information
BeauBouchard authored Oct 10, 2023
1 parent 2e6fd45 commit d59afdc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ npm run serve

Describing the application from the model perspective, we have the following:

<center>
<div align="center">
<img src="https://github.com/Crucible-Standard/transmission/assets/127320/00d14c94-5e77-4a4f-b632-8ff2cb547cd5" alt="Users Table" width="500px" />
</center>
</div>

A user which is tied to a unique email and User_id can have zero or many subscriptions.
A user can only change a preference if they are "subscribed" to the subscription, otherwise they can not control the preference.


<center>
<div align="center">
<img src="https://github.com/Crucible-Standard/transmission/assets/127320/6b98e51d-48ee-46f7-8a7b-b52954f035ca" alt="Subscriptions Table" width="500px" />
</center>
</div>


A subscription is tied to a unique subscription_id and can have zero or many preferences.
Expand All @@ -81,9 +81,10 @@ States of a subscription:
- inactive - the user is not subscribed to the subscription
- pending - the user has requested to subscribe to the subscription, but has not confirmed their subscription through email confirmation or some other means.

<center>

<div align="center">
<img src="https://github.com/Crucible-Standard/transmission/assets/127320/89317bd9-a71a-41cb-b45c-3c4d742a82df" alt="Users_Subscriptions Table" width="500px" />
</center>
</div>

If there is no relationship between a user and a subscription, the user is not subscribed to the subscription, which is distinct over "inactive" which is reserved for users who subscribed, and then unsubscribed from a service, allowing for a soft-delete of the relationship.

Expand Down

0 comments on commit d59afdc

Please sign in to comment.