0

I am building my DB model using sequelize, and my tables are the following:

enter image description here

My issue is that, how could I make the primary key (id) of the packageTypes record as follows: productId + id , so if the productId is 1 and the packageType id is 3 so the id will be 13

Shadow
  • 33,525
  • 10
  • 51
  • 64
Firas SCMP
  • 461
  • 4
  • 18

0 Answers0