Bug 26325 - Add primary_key_exists function to Installer.pm
Summary: Add primary_key_exists function to Installer.pm
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Nick Clemens
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 26326
  Show dependency treegraph
 
Reported: 2020-08-31 16:43 UTC by Nick Clemens
Modified: 2020-09-15 20:09 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 26325: Add primary_key_exists check to C4::Installer (2.10 KB, patch)
2020-08-31 16:44 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 26325: Add primary_key_exists check to C4::Installer (2.15 KB, patch)
2020-09-15 15:57 UTC, Brandon J
Details | Diff | Splinter Review
Bug 26325: Add primary_key_exists check to C4::Installer (2.21 KB, patch)
2020-09-15 20:09 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens 2020-08-31 16:43:34 UTC
Some tables don't have a primary key - for atomic update purposes it would be nice to be able to test this
Comment 1 Nick Clemens 2020-08-31 16:44:59 UTC
Created attachment 109372 [details] [review]
Bug 26325: Add primary_key_exists check to C4::Installer

To test:
1 - prove -v t/db_dependent/Installer.t
Comment 2 Brandon J 2020-09-15 15:57:45 UTC
Created attachment 110114 [details] [review]
Bug 26325: Add primary_key_exists check to C4::Installer

To test:
1 - prove -v t/db_dependent/Installer.t

Signed-off-by: Brandon J <brandon.jimenez@inLibro.com>
Comment 3 Katrin Fischer 2020-09-15 20:09:09 UTC
Created attachment 110124 [details] [review]
Bug 26325: Add primary_key_exists check to C4::Installer

To test:
1 - prove -v t/db_dependent/Installer.t

Signed-off-by: Brandon J <brandon.jimenez@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>