I ran this using MySql and it appears to not like TEXT. With SQL server I use nvarchar(max) What should I use in MySql? In other tables some fields
TEXT
nvarchar(max)
I think it chokes on the key field name rather than the TEXT type (which should be perfectly fine).
key
Reserved Words in mySQL
(And as @Pablo already said, memo fields can't be unique.)