Table testsql_comments.messages
circulation messages left via the patron's check out screen

Generated by
SchemaSpy
Legend: SourceForge.net
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
message_id int 10  √ 
message_queue.message_id Implied Constraint R
unique identifier assigned by Koha
borrowernumber int 10
patronimage.borrowernumber Implied Constraint R
foreign key linking this message to the borrowers table
branchcode varchar 10  √  null
branches.branchcode Implied Constraint R
foreign key linking the message to the branches table
message_type varchar 1 whether the message is for the librarians (L) or the patron (B)
message text 65535 the text of the message
message_date timestamp 19 CURRENT_TIMESTAMP the date and time the message was written
manager_id int 10  √  null
borrowers.borrowernumber messages_ibfk_1 N
creator of message

Table contained 0 rows at Tue Dec 27 17:18 NZDT 2016

Indexes:
Column(s) Type Sort Constraint Name
message_id Primary key Asc PRIMARY
manager_id Performance Asc messages_ibfk_1

Close relationships  within of separation: