Lines 247-253
DROP TABLE IF EXISTS `additional_field_values`;
Link Here
|
247 |
CREATE TABLE `additional_field_values` ( |
247 |
CREATE TABLE `additional_field_values` ( |
248 |
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key identifier', |
248 |
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key identifier', |
249 |
`field_id` int(11) NOT NULL COMMENT 'foreign key references additional_fields(id)', |
249 |
`field_id` int(11) NOT NULL COMMENT 'foreign key references additional_fields(id)', |
250 |
`record_id` int(11) NOT NULL COMMENT 'record_id', |
250 |
`record_id` varchar(11) NOT NULL COMMENT 'record_id', |
251 |
`value` varchar(255) NOT NULL DEFAULT '' COMMENT 'value for this field', |
251 |
`value` varchar(255) NOT NULL DEFAULT '' COMMENT 'value for this field', |
252 |
PRIMARY KEY (`id`), |
252 |
PRIMARY KEY (`id`), |
253 |
KEY `afv_fk` (`field_id`), |
253 |
KEY `afv_fk` (`field_id`), |
254 |
- |
|
|