Fixed: key is a MySQL reserved keyword :p