Lines 288-294
CREATE TABLE `borrower_attribute_types` ( -- definitions for custom patron field
Link Here
|
288 |
`staff_searchable` tinyint(1) NOT NULL default 0, -- defines if this field is searchable via the patron search in the staff client (1 for yes, 0 for no) |
288 |
`staff_searchable` tinyint(1) NOT NULL default 0, -- defines if this field is searchable via the patron search in the staff client (1 for yes, 0 for no) |
289 |
`authorised_value_category` varchar(10) default NULL, -- foreign key from authorised_values that links this custom field to an authorized value category |
289 |
`authorised_value_category` varchar(10) default NULL, -- foreign key from authorised_values that links this custom field to an authorized value category |
290 |
`display_checkout` tinyint(1) NOT NULL default 0,-- defines if this field displays in checkout screens |
290 |
`display_checkout` tinyint(1) NOT NULL default 0,-- defines if this field displays in checkout screens |
291 |
`category_code` VARCHAR(1) NULL DEFAULT NULL,-- defines a category for an attribute_type |
291 |
`category_code` VARCHAR(10) NULL DEFAULT NULL,-- defines a category for an attribute_type |
292 |
`class` VARCHAR(255) NOT NULL DEFAULT '',-- defines a class for an attribute_type |
292 |
`class` VARCHAR(255) NOT NULL DEFAULT '',-- defines a class for an attribute_type |
293 |
PRIMARY KEY (`code`), |
293 |
PRIMARY KEY (`code`), |
294 |
KEY `auth_val_cat_idx` (`authorised_value_category`) |
294 |
KEY `auth_val_cat_idx` (`authorised_value_category`) |