customerparts


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 √ null
customerId INT 10 null
customer.id FKmgyc0iu98bxjy52d6t4bxc9ho R
customerPartNumber VARCHAR 70 null
dateCreated DATETIME 26 √ null
dateLastModified DATETIME 26 √ null
dateLastPurchased DATETIME 26 √ null
lastChangedUserId INT 10 null
sysuser.id FK1ylk5dwij5rmhh4ln7rttllct R
lastPrice DECIMAL 28,9 √ null
productId INT 10 null
product.id FKna1apak8us4xiisn316n0uhjl R

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
customerPartNumberIdx Performance Asc customerPartNumber
FK1ylk5dwij5rmhh4ln7rttllct Performance Asc lastChangedUserId
FKmgyc0iu98bxjy52d6t4bxc9ho Performance Asc customerId
UKdbo5xbdq0eavnii6e4iprb401 Must be unique Asc/Asc productId + customerId

Relationships