Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| reportid | INT | 10 | √ | null |
|
|
unique identifier assigned by Koha |
||||
| title | VARCHAR | 40 | '' |
|
|
report subject line |
|||||
| content | TEXT | 65535 | null |
|
|
report message content |
|||||
| borrowernumber | INT | 10 | 0 |
|
|
the user who created the problem report |
|||||
| branchcode | VARCHAR | 10 | '' |
|
|
borrower’s branch |
|||||
| username | VARCHAR | 75 | √ | NULL |
|
|
OPAC username |
||||
| problempage | TEXT | 65535 | √ | NULL |
|
|
page the user triggered the problem report form from |
||||
| recipient | enum('admin', 'library') | 7 | 'library' |
|
|
the ‘to-address’ of the problem report |
|||||
| created_on | TIMESTAMP | 19 | current_timestamp() |
|
|
timestamp of report submission |
|||||
| status | VARCHAR | 6 | 'New' |
|
|
status of the report. New, Viewed, Closed |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | reportid |
| problem_reports_ibfk1 | Performance | Asc | borrowernumber |
| problem_reports_ibfk2 | Performance | Asc | branchcode |

