View | Details | Raw Unified | Return to bug 6716
Collapse All | Expand All

(-)a/installer/data/mysql/kohastructure.sql (-6 / +5 lines)
Lines 899-908 CREATE TABLE `import_records` ( Link Here
899
-- Table structure for `import_record_matches`
899
-- Table structure for `import_record_matches`
900
--
900
--
901
DROP TABLE IF EXISTS `import_record_matches`;
901
DROP TABLE IF EXISTS `import_record_matches`;
902
CREATE TABLE `import_record_matches` (
902
CREATE TABLE `import_record_matches` ( -- matches found when importing a batch of records
903
  `import_record_id` int(11) NOT NULL,
903
  `import_record_id` int(11) NOT NULL, -- the id given to the imported bib record (import_records.import_record_id)
904
  `candidate_match_id` int(11) NOT NULL,
904
  `candidate_match_id` int(11) NOT NULL, -- the biblio the imported record matches (biblio.biblionumber)
905
  `score` int(11) NOT NULL default 0,
905
  `score` int(11) NOT NULL default 0, -- the match score
906
  CONSTRAINT `import_record_matches_ibfk_1` FOREIGN KEY (`import_record_id`)
906
  CONSTRAINT `import_record_matches_ibfk_1` FOREIGN KEY (`import_record_id`)
907
             REFERENCES `import_records` (`import_record_id`) ON DELETE CASCADE ON UPDATE CASCADE,
907
             REFERENCES `import_records` (`import_record_id`) ON DELETE CASCADE ON UPDATE CASCADE,
908
  KEY `record_score` (`import_record_id`, `score`)
908
  KEY `record_score` (`import_record_id`, `score`)
Lines 2135-2141 CREATE TABLE `z3950servers` ( -- connection information for the Z39.50 targets u Link Here
2135
  `checked` smallint(6) default NULL, -- whether this target is checked by default  (1 for yes, 0 for no)
2135
  `checked` smallint(6) default NULL, -- whether this target is checked by default  (1 for yes, 0 for no)
2136
  `rank` int(11) default NULL, -- where this target appears in the list of targets
2136
  `rank` int(11) default NULL, -- where this target appears in the list of targets
2137
  `syntax` varchar(80) default NULL, -- marc format provided by this target
2137
  `syntax` varchar(80) default NULL, -- marc format provided by this target
2138
  `timeout` int(11) NOT NULL DEFAULT '0',
2138
  `timeout` int(11) NOT NULL DEFAULT '0', -- number of seconds before Koha stops trying to access this server
2139
  `icon` text, -- unused in Koha
2139
  `icon` text, -- unused in Koha
2140
  `position` enum('primary','secondary','') NOT NULL default 'primary',
2140
  `position` enum('primary','secondary','') NOT NULL default 'primary',
2141
  `type` enum('zed','opensearch') NOT NULL default 'zed',
2141
  `type` enum('zed','opensearch') NOT NULL default 'zed',
2142
- 

Return to bug 6716