"Character" is a reserved keyword in mysql, changed to "tsCharacter" to fix.