Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | INT | 10 | √ | null |
|
|
||||
name | VARCHAR | 255 | null |
|
|
the name of the field as it will be stored in the search engine |
||||
label | VARCHAR | 255 | null |
|
|
the human readable name of the field, for display |
||||
type | enum('', 'string', 'date', 'number', 'boolean', 'sum', 'isbn', 'stdno', 'year') | 7 | null |
|
|
what type of data this holds, relevant when storing it in the search engine |
||||
weight | DECIMAL | 5,2 | √ | null |
|
|
||||
facet_order | TINYINT | 3 | √ | null |
|
|
the order place of the field in facet list if faceted |
|||
staff_client | BIT | 0 | 1 |
|
|
|||||
opac | BIT | 0 | 1 |
|
|
|||||
mandatory | BIT | 0 | √ | null |
|
|
if marked this field is not editable or removable |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
name | Must be unique | Asc | name |