MySQL Error 1503 – ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF

MySQL Error Message

A %s must include all columns in the table’s partitioning
function (prefixed columns are not considered).