Comments - UUID
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
I don't understand why we can't use UUID as default value without using a trigger...
<column> BINARY(16) DEFAULT UUID()
The answer is explained here:
https://www.percona.com/blog/2013/04/08/understanding-the-maximum-number-of-columns-in-a-mysql-table/
But you can add a feature request in MariaDB's JIRA account:
http://mariadb.org/jira