hi how dO I bulk insert into a prisma table? I tr...
# orm-help
m
hi how dO I bulk insert into a prisma table? I tried
Copy code
INSERT INTO 'blackship$prod'.'WarehouseLocations' (name)
VALUES 
('01-00-0-0'
'01-00-0-1', etc.)
but fails because
null value in column "id" violates not-null constraint
I see the id column is varchar, not an auto-number, so . . . what’s the method? do I gotta use javascript for this? 😞
r
@Max Hodges 👋 What have you specified in the
id
field in your
schema.prisma
?