Alan Szternberg

Results 19 comments of Alan Szternberg

## My Problem I have many databases, (hence many Prisma schema) in many environments. I need to centralize all the databases access into 1 config file. Using .env files is...

solution should be ``` UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` = `_InvoiceParentChild`.B where `_InvoiceParentChild`.A = `Invoice`.`id`; ``` instead of ``` UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` = `_InvoiceParentChild`.B where `_InvoiceParentChild`.B = `Invoice`.`id`;...

Actually, the solution is ``` UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` = `_InvoiceParentChild`.A where `_InvoiceParentChild`.B = `Invoice`.`id`; ``` instead of ``` UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` = `_InvoiceParentChild`.B where `_InvoiceParentChild`.B =...

summary: ``` -- reco tool wrong // https://github.com/prisma/upgrade/issues/75 -- UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` = `_InvoiceParentChild`.B where `_InvoiceParentChild`.B = `Invoice`.`id`; -- idea1 wrong -- UPDATE `Invoice`, `_InvoiceParentChild` SET `Invoice`.`invoiceParentId` =...

Same issue here today I'm using render.com to host `Load model from /opt/render/project/src/node_modules/@huggingface/transformers/.cache/sentence-transformers/all-MiniLM-L6-v2/onnx/model.onnx failed:Protobuf parsing failed.` I don't know if the download finished with `npm install`, but it should have...

another similar issue today after deploying in prod.. ``` Load model from /opt/render/project/src/node_modules/@huggingface/transformers/.cache/sentence-transformers/all-MiniLM-L6-v2/onnx/model.onnx failed:/onnxruntime_src/onnxruntime/core/graph/model.cc:165 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) ModelProto does not have a graph. ```

> Thanks all for your reports. Typically, this error suggests that the size of the `[name].onnx` file is 0, meaning the download was interrupted. Could you please inspect the size...

Same issue. I am using a simple npm workspace. I fixed it by adding in the root `package.json` (which is pretty messy..) ``` "dependencies": { "drizzle-orm": "^0.36.1" }, ``` Its...