Comments - Foreign Keys
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.
Please correct the following sentence in section Syntax: "The referenced columns must be a PRIMARY KEY or a UNIQUE index."
This is not, in fact, true as the reference column in the parent table only needs to be a prefix of an index (primary key, uniqe and plain index all satisfy this).
Fixed. Sorry for the delay.