Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
|||||
| dateCreated | DATETIME | 26 | √ | null |
|
|
|||||
| dateLastModified | DATETIME | 26 | √ | null |
|
|
|||||
| description | VARCHAR | 252 | √ | null |
|
|
|||||
| name | VARCHAR | 70 | null |
|
|
||||||
| partId | INT | 10 | null |
|
|
||||||
| qty | DECIMAL | 28,9 | √ | null |
|
|
|||||
| unitCost | DECIMAL | 28,9 | √ | null |
|
|
|||||
| userId | INT | 10 | null |
|
|
||||||
| vendorId | INT | 10 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK28xtr178lx6dwthse9a07m9tw | Performance | Asc | vendorId |
| FKg6bc62hmsios5yv36nthb2kdw | Performance | Asc | userId |
| FKp530eoh5nd0jb6mcbyofg3tj5 | Performance | Asc | partId |
| UKkh1qjce9pu68ahmi4f4rmk958 | Must be unique | Asc/Asc/Asc | name + vendorId + partId |