Bug 29479

Summary: Discrepancy between kohastructure and db revisions (impacting DBIx schema)
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: DatabaseAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2021-11-15 10:30:27 UTC
kohastructure
  `public` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'whether this library should show in the opac',

210600041.pl:        unless ( column_exists('branches', 'public') ) {
210600041.pl:                ALTER TABLE branches ADD public tinyint DEFAULT 1 AFTER pickup_location

In the install public is not nullable, in the update it is nullable.
Comment 1 Jonathan Druart 2021-11-15 10:48:06 UTC
Will fix on bug 27360.

*** This bug has been marked as a duplicate of bug 27360 ***