Yehonatan Levi
04/18/2020, 1:51 PMYehonatan Levi
04/18/2020, 1:52 PMYehonatan Levi
04/18/2020, 1:52 PMJanos Veres
04/19/2020, 12:51 PMAnthony Magnus
04/19/2020, 2:41 PMAhmed Ghanem
04/19/2020, 9:39 PMChester ONeill
04/20/2020, 3:36 AMpostgres:
restart: always
image: postgres:latest
ports:
- '5432:5432'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
and my database url DATABASE_URL=<postgresql://postgres>:password@localhost:5432/
Chester ONeill
04/20/2020, 3:36 AMAuthentication failed against database server at `localhost`, the provided database credentials for `postgres` are not valid.
Please make sure to provide valid database credentials for the database server at `localhost`.
at PrismaClientFetcher.request (/home/chester/projects/raiseahand/node_modules/@prisma/client/runtime/index.js:1:52273)
at processTicksAndRejections (internal/process/task_queues.js:89:5) {
code: 'P1000',
meta: { database_user: 'postgres', database_host: 'localhost' }
joe_re
04/20/2020, 3:43 AMWith a high amount of parallel subscriptions, Prisma's subcriptions sometimes become unreliable.
.
But there are no any clear explanation about it, someone can explain details about it?
Why it can not be reliable and why it’s difficult to fix and are there any workaround for that other than using other application?
https://v1.prisma.io/docs/1.34/faq/what-to-do-with-subscription-scaling-issues-fq13/#faqSareuon
04/20/2020, 7:08 AMfriebetill
04/20/2020, 8:26 AMSareuon
04/20/2020, 10:05 AMPedro Avila
04/20/2020, 2:44 PMPedro Avila
04/20/2020, 2:45 PMAndrew Rhyne
04/20/2020, 4:27 PMDonte
04/20/2020, 6:45 PMprisma.datamodel
isn’t mirroring the data in my prisma database. Ex attached . I ran prisma deploy and generate prisma .Andrew Rhyne
04/20/2020, 7:39 PMAndrew Rhyne
04/20/2020, 7:39 PMKJReactor
04/21/2020, 1:06 AMSimon
04/21/2020, 6:23 AMcuid()
or to autoincrement()
that is the question...
Assuming Postgres is being used, how do you normally go about choosing one for your id field? Imagine you need to explain the choice to a total DB n00b, how would you guide that person to make a choice? Thoughts?Rain
04/21/2020, 6:29 AMprisma.user.update()
but I received the following error
Query interpretation error. Error for binding '1': Domain Error(Conversion Failure("record identifier", "assimilated record identifier"))
Rain
04/21/2020, 6:29 AMRain
04/21/2020, 6:51 AMRain
04/21/2020, 7:35 AMprisma.chatroom.updateMany({ where: { founderId: { id} }, data: { members: { disconnect: {id: user.id}})
but the update many only allowed to change the chatroom property only.stephan
04/21/2020, 10:47 AMstephan
04/21/2020, 1:51 PMstephan
04/21/2020, 1:52 PMOskar
04/22/2020, 12:22 PMTony Shannon
04/22/2020, 2:12 PMMichael Sharpe
04/22/2020, 5:28 PM