I am building my DB model using sequelize, and my tables are the following:
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