Bug 32437: Add Objects for ImportAuths
authorNick Clemens <nick@bywatersolutions.com>
Mon, 12 Dec 2022 13:59:56 +0000 (13:59 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 16:47:32 +0000 (17:47 +0100)
commitccb0ce027bb93d176100e0edf31779959d6b0bd6
treef426be5970d13d5833472d1bb186d5ced1108b96
parenta0004d6bd79b7956f4e8eb7e0857e70c1f1c1158
Bug 32437: Add Objects for ImportAuths

This patch:
1 - Adds an atomic update to add a primary key to import_auths table
2 - Adds objects for Koha::Import::Records::Auths
3 - Adds tests for import auth and biblio objects

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f41f272ff087d65ed11d760e6c7c58818c3a24d4)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
Koha/Import/Record/Auth.pm [new file with mode: 0644]
Koha/Import/Record/Auths.pm [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_32437.pl [new file with mode: 0755]
installer/data/mysql/kohastructure.sql
t/db_dependent/Koha/Import/Record/Auths.t [new file with mode: 0755]
t/db_dependent/Koha/Import/Record/Biblios.t [new file with mode: 0755]