In TypeORM you have the possibility to set a unique flag in the column options, or to set column(s) to unique for the entity.
When would you use which, and what's the difference there?
@Unique(["firstName"])
https://typeorm.io/#/decorator-reference/unique
@Column({ unique: true })
firstName: string;