William GM
08/19/2022, 2:15 AMprimary key
create table shipment_entry_detail (
shipment_entry_id uuid
shipment_entry_detail_id int
notes text
);
I also have a trigger that populates the shipment_entry_detail_id
which is a sequence based on the rows of shipment_entry_id
.
It works perfectly but the prisma client expects the shipment_entry_detail_id
to be populated by me, is there a way to tell prisma that I GOT IT? (😅)Nurul
08/19/2022, 11:08 AMschema.prisma
file?William GM
08/19/2022, 10:10 PMWilliam GM
08/19/2022, 10:11 PM@@id([shipment_entry_id, id], _map_: "PK_Shipment_Entry_Detail__shipment_entry_id__id")
Austin
08/30/2022, 7:02 PMWilliam GM
08/31/2022, 2:59 PM