sequelize-typescript icon indicating copy to clipboard operation
sequelize-typescript copied to clipboard

problem : two column doesn't unique together

Open mryoung96 opened this issue 3 years ago • 0 comments

Issue

Hi I need unique combination of two columns in a table. example: first name and last name together

Versions

  • sequelize: ^6.11.0
  • sequelize-typescript: ^2.1.1
  • typescript: ^4.5.2

Actual behavior

Related code

https://tipsfordev.com/how-to-define-unique-index-on-multiple-columns-in-sequelize

mryoung96 avatar Jan 11 '22 10:01 mryoung96