[Koha-bugs] [Bug 14321] Merge UploadedFile and UploadedFiles into Koha::Upload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 23 13:27:13 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14321

--- Comment #82 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #73)
> (In reply to Marcel de Rooy from comment #71)
> > > c. public and permanent are tinyint(4) but actually are boolean, so
> > > tinyint(1) is more appropriated.
> > tinyint is always one byte: the 4 has to do with display just like int(11)
> 
> tinyint is still more appropriated, in my opinion :)
> Not blocker anyway.

Thanks for QA.
You say that tinyint would be more appropriate, and I agree. The good news is
that they also are tinyint's already! The 4 is just some display stuff in
mysql. Tinyint on MySQL goes from -128 to 127. The -128 takes 4 display
positions. A value like 3 will be left-padded with 4-1=3 spaces.

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


More information about the Koha-bugs mailing list