Currently the DDL generation is not generating unique constraints. You have to add them manually afterwards.
Fixed in HEAD.
DDL now generates unique constraints.