In Resource Table I have
id and typeboth are primary key and act as composite key.
In Passenger Table I have
Driver_Id and Driver_Type
I'm trying to make Resource Id and Type as foreign key to Driver_Id and Driver_Type. But when I do with Typeorm its create a table column like Driver_IDResourceID and DriverTypeResourceType.
Any help will be appreciated.