This is a well known mysql-ism
I remember reading that a short-term fix to this... is to change
VARCHAR(256) to VARCHAR(255)
It's fixed in some versions of the db
(https://answers.launchpad.net/maria/+question/241612)
It looks like 5.6.3 is the earliest
:
http://dev.mysql.com/doc/refman/5.6
Iain Duncan writes:
> Hi folks, I've been googling and cargo culting to no avail here, hope
> someone can help.
> I'm trying to get an app running on MySQL on OS X, that was running fine on
> MySQL on Linux.
>
> The issue is I have some large composite primarky keys:
>
> class VarTrigger(Base):
>