More realistic data

This commit is contained in:
Jonathan Bobel
2023-12-12 12:30:47 -05:00
parent 7460682c8a
commit d5b98679be

View File

@@ -2,11 +2,16 @@
This document serves as a comprehensive guide to the data structure of notify.gov. It outlines the key data elements, their types, and relationships within the system. From user information to message details, this data dictionary is a valuable resource for understanding and maintaining the underlying data model of this application. Use this guide to ensure consistency, clarity, and effective management of the data that powers our messaging functionality.
# Table: Global
| Field | Type | Length | Description |
|-------------------------------------|-----------|--------|------------------------------------------------------------------|
| service_id | Integer | | Service ID - reference for most data related to a service |
## Table: Dashboard
| Field | Type | Length | Description |
|--------------|-----------|--------|------------------------------------|
| ProductID | Integer | | Unique identifier for a product. |
| Name | Varchar | 100 | Name of the product. |
| Price | Decimal | | Price of the product. |
| CategoryID | Integer | | Foreign key to product category. |
| Field | Type | Length | Description |
|-------------------------------------|-----------|--------|--------------------------------------------|
| global_message_limit | Integer | | Message limit set by platform admin |
| daily_global_messages_remaining | Integer | | Remaining messages in database |