[Bug 36667] New: aqorders.quantity should be NOT NULL
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36667 Bug ID: 36667 Summary: aqorders.quantity should be NOT NULL Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Database Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org
From kohastructure:
`quantity` smallint(6) DEFAULT NULL COMMENT 'the quantity ordered', `quantityreceived` smallint(6) NOT NULL DEFAULT 0 COMMENT 'the quantity that have been received so far', => We could do NOT NULL DEFAULT 0 for quantity (same as received) but should we even allow 0 at all ? Note however that I found an acq order with quantity==0 in our data. (Older bugs etc.) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org