Jay Bell
PPrisma
•Created by Jay Bell on 6/20/2024 in #help-and-questions
Unable to find table (not available) but it exists
Reproduced it in a fresh database.
So we have an empty DraftItem record (existing db row, was a placeholder table for months). We are upserting those records to ensure they are completely filled in now (since the table is in use)
So we are updating the DraftItem with some fields and then also upserting a nested 1:1 relation (Inventory).
This is where it fails, if I just upsert that DraftItem and do not try and also upsert inventory it works, as soon as I try and upsert Inventory it does not work.
5 replies
PPrisma
•Created by Jay Bell on 6/20/2024 in #help-and-questions
Unable to find table (not available) but it exists
So create and findMany work fine, upsert is failing. Trying to track down whats going on there.
5 replies
PPrisma
•Created by Jay Bell on 6/20/2024 in #help-and-questions
Unable to find table (not available) but it exists
Hey Nurul, yes I have generated it, made sure to check that first. And when I pull I do get it yes.
5 replies
CDCloudflare Developers
•Created by Jay Bell on 11/25/2023 in #cloudflare-ai
I am trying to call workers ai using
looks like according to that error account id is undefined so i guess they are not being read correctly
3 replies
CDCloudflare Developers
•Created by Jay Bell on 11/25/2023 in #cloudflare-ai
I am trying to call workers ai using
3 replies
CDCloudflare Developers
•Created by Jay Bell on 11/25/2023 in #cloudflare-ai
I am trying to call workers ai using
I have a
.dev.vars
file with my env variables in it. but again I cannot confirm they actually work since apparently logs do not show.3 replies