suppliers table
The suppliers table in the Inventory Management Database Schema schema has 8 columns, keyed by id. 2 columns in products and purchase_orders reference it.
lead_time_days feeds reorder_rules, which is how a reorder point becomes a purchase suggestion.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| name | varchar(160) | not null | |
| code | varchar(32) | unique, not null | |
| contact_email | varchar(255) | ||
| contact_phone | varchar(32) | ||
| lead_time_days | smallint | ||
| is_active | boolean | not null | |
| created_at | timestamptz | not null |
Indexes (1)
(name)
Relationships
products.preferred_supplier_idreferencessupplierspurchase_orders.supplier_idreferencessuppliers