Table testsql_comments.borrower_attributes
values of custom patron fields known as extended patron attributes linked to patrons/borrowers

Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
id int 10  √ Implied Constraint R
Row id field
borrowernumber int 10
borrowers.borrowernumber borrower_attributes_ibfk_1 C
foreign key from the borrowers table, defines which patron/borrower has this attribute
code varchar 10
borrower_attribute_types.code borrower_attributes_ibfk_2 C
foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
attribute varchar 255  √  null custom patron field value

Table contained 0 rows at Mon Jul 16 09:22 NZST 2018

Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
borrowernumber Performance Asc borrowernumber
code + attribute Performance Asc/Asc code_attribute

Close relationships  within of separation: