Apparently 1024 is too long for a primary key VARCHAR in MySQL.