Bug 11297: Add atomicupdate patch and modify kohastructure.sql
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
bd141a442e
commit
99699a3114
2 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
if( !column_exists( 'z3950servers', 'attributes' ) ) {
|
||||
$dbh->do( "ALTER TABLE z3950servers ADD COLUMN attributes VARCHAR(255) after add_xslt" );
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 11297 - Add support for custom PQF attributes for Z39.50 server searches)\n";
|
||||
}
|
|
@ -2204,6 +2204,7 @@ CREATE TABLE `z3950servers` ( -- connection information for the Z39.50 targets u
|
|||
`sru_options` varchar(255) default NULL, -- options like sru=get, sru_version=1.1; will be passed to the server via ZOOM
|
||||
`sru_fields` LONGTEXT default NULL, -- contains the mapping between the Z3950 search fields and the specific SRU server indexes
|
||||
`add_xslt` LONGTEXT default NULL, -- zero or more paths to XSLT files to be processed on the search results
|
||||
`attributes` VARCHAR(255) default NULL, -- additional attributes passed to PQF queries
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
|
|
Loading…
Reference in a new issue