Escape MySQL enum values

MySQL enum values may contain ' character so they must be escaped.