2205 A column specified in the index is of an invalid type

Advantage Error Guide

The variable length column type cannot be used as part of an index or primary key.