Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | INT | 10 | √ | null |
|
|
|||||
textId | VARCHAR | 60 | '-1' |
|
|
||||||
userId | INT | 10 | √ | NULL |
|
|
|||||
enum('private', 'location', 'library', 'everyone') | 8 | √ | 'everyone' |
|
|
||||||
label | VARCHAR | 50 | null |
|
|
||||||
description | LONGTEXT | 2147483647 | √ | NULL |
|
|
|||||
defaultFilter | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
|||||
defaultSort | enum('relevance', 'popularity', 'newest_to_oldest', 'oldest_to_newest', 'author', 'title', 'user_rating', 'holds', 'publication_year_desc', 'publication_year_asc') | 21 | √ | 'relevance' |
|
|
|||||
searchTerm | VARCHAR | 500 | '' |
|
|
||||||
numTimesShown | INT | 10 | 0 |
|
|
||||||
numTitlesClickedOn | MEDIUMINT | 7 | 0 |
|
|
||||||
sourceListId | MEDIUMINT | 7 | √ | NULL |
|
|
|||||
source | VARCHAR | 50 | null |
|
|
||||||
libraryId | INT | 10 | √ | -1 |
|
|
|||||
startDate | INT | 10 | √ | 0 |
|
|
|||||
endDate | INT | 10 | √ | 0 |
|
|
|||||
numTimesDismissed | MEDIUMINT | 7 | 0 |
|
|
||||||
sourceCourseReserveId | MEDIUMINT | 7 | √ | -1 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
browse_category_s_pk | Primary key | Asc | id |
PRIMARY | Must be unique | Asc | id |
textId | Must be unique | Asc | textId |