dhe128
dhe128
Explore posts from servers
RRunPod
Created by dhe128 on 10/30/2024 in #⚡|serverless
How to get `/stream` serverless endpoint to "stream"?
thank you! I got it working with stream via polling :scarlettHeart:
9 replies
RRunPod
Created by dhe128 on 10/30/2024 in #⚡|serverless
How to get `/stream` serverless endpoint to "stream"?
* Looking at js-sdk source: https://github.com/runpod/js-sdk/blob/main/src/index.ts#L203 stream() doesn't pass {responseType: 'stream'} to xior.get so it can't be streaming * Running the runpod UI with network tab open: (https://www.runpod.io/console/serverless/user/endpoint/$endpointId) * It polls /stream every few seconds, not doing streaming.
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
I expect that command to generate an empty migration if the schemas in db are empty. Maybe I'm misunderstanding what it does?
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
Maybe it's a caching issue?
npx prisma migrate diff \
--from-empty \
--to-schema-datamodel prisma/schema.prisma \
--script > prisma/migrations/0_init/migration.sql
npx prisma migrate diff \
--from-empty \
--to-schema-datamodel prisma/schema.prisma \
--script > prisma/migrations/0_init/migration.sql
generates a full initial migration even though the schema in db is initially empty
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
I'm connecting with a connection string - datasource db has both url and directUrl
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
so not touching auth storage or public
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
I'm using multischema, and datasource db.schemas doesn't touch any existing schemas
9 replies
PPrisma
Created by dhe128 on 8/24/2024 in #help-and-questions
Error: P3005 The database schema is not empty.
yes
9 replies