[Koha-bugs] [Bug 30472] New: Field borrower_relationships.guarantor_id should be marked as NOT NULL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 6 16:05:59 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30472

            Bug ID: 30472
           Summary: Field borrower_relationships.guarantor_id should be
                    marked as NOT NULL
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Database
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

See also $DBversion = '19.06.00.022'; CREATE TABLE `borrower_relationships`
[...]                   guarantor_id INT(11) NOT NULL,                  
guarantee_id INT(11) NOT NULL,

Many production db's will have both fields already NOT NULL.
We need to adjust kohastructure and DBIx

Note that non-patron guarantors are NOT saved in this table but in the
borrowers table itself IIUC.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list