Table testsql_comments.virtualshelves 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
shelfnumber int 10  √ 
virtualshelfcontents.shelfnumber virtualshelfcontents_ibfk_1 C
virtualshelfshares.shelfnumber virtualshelfshares_ibfk_1 C
unique identifier assigned by Koha
shelfname varchar 255  √  null name of the list
owner int 10  √  null
borrowers.borrowernumber virtualshelves_ibfk_1 N
foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int)
category varchar 1  √  null type of list (private [1], public [2])
sortfield varchar 16  √  null the field this list is sorted on
lastmodified timestamp 19 CURRENT_TIMESTAMP date and time the list was last modified
allow_add bit 0  √  0 permission for adding entries to list
allow_delete_own bit 0  √  1 permission for deleting entries frm list that you added yourself
allow_delete_other bit 0  √  0 permission for deleting entries from list that another person added

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

Column(s) Type Sort Constraint Name
shelfnumber Primary key Asc PRIMARY
owner Performance Asc virtualshelves_ibfk_1

Close relationships  within of separation: