Okai uniqueConstraint issue

When I apply a uniqueConstraint to two columns, the okai tool outputs the correct data. However if there is just one it seems to disappear?

Please provide both the TypeScript and generated code.