<div dir="ltr">I think it doesn't really make sense. There are cases in which the general table collation is utf8mb4_unicode_ci and some columns need utf8mb4_binary. I think those are the only meaningful ones.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 27 sept. 2019 a las 11:27, Fridolin SOMERS (<<a href="mailto:fridolin.somers@biblibre.com">fridolin.somers@biblibre.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
I'm working on DB structure compare.<br>
I note that in installer/data/mysql/kohastructure.sql, a few columns <br>
define CHARACTER SET and/or COLLATE, with same values as table.<br>
<br>
Is this usefull or should we remove it ?<br>
<br>
$ grep  'COLLATE' installer/data/mysql/kohastructure.sql  | grep -v <br>
ENGIN | grep 'utf8mb4_unicode_ci'<br>
   `category_name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL <br>
DEFAULT '',<br>
   `font` char(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT <br>
NULL DEFAULT 'TR',<br>
   `text_justify` char(1) CHARACTER SET utf8mb4 COLLATE <br>
utf8mb4_unicode_ci NOT NULL DEFAULT 'L',<br>
   `auto_renew_error` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT <br>
NULL, -- automatic renewal error<br>
   `auto_renew_error` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT <br>
NULL, -- automatic renewal error<br>
   `suppliers_report` MEDIUMTEXT COLLATE utf8mb4_unicode_ci, -- reports <br>
received from suppliers<br>
       entity varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,<br>
       code varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,<br>
       lang varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL, -- could be <br>
a foreign key<br>
       translation MEDIUMTEXT COLLATE utf8mb4_unicode_ci,<br>
   `branchcode` varchar(10) CHARACTER SET utf8mb4 COLLATE <br>
utf8mb4_unicode_ci DEFAULT NULL,<br>
<br>
-- <br>
Fridolin SOMERS <<a href="mailto:fridolin.somers@biblibre.com" target="_blank">fridolin.somers@biblibre.com</a>><br>
BibLibre, France - software and system maintainer<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.org/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Tomás Cohen Arazi</div><div style="font-size:12.8px">Theke Solutions (<a href="http://theke.io/" target="_blank">http://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div></div></div>