Manupa Samarawickrama
Explore posts from serversPPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
And I think prisma migrate deploy should be used in hosted environments and migrate dev in local dbs
18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
Yes I was able to "fix" it with the same approach but this lead to it being inconsistent with terminating shadow dbs and it ended up corrupting the schema of my staging db
18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless

18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
[
{
"file": null,
"host": "db-tsolvadootnjtlmsrvsv",
"metadata": [],
"parsed": [
{
"application_name": "Supavisor",
"backend_type": "client backend",
"command_tag": "DROP DATABASE",
"connection_from": "2406:da1a:6b0:f600:92c2:88be:807f:629b:52372",
"context": null,
"database_name": "postgres",
"detail": null,
"error_severity": "ERROR",
"hint": null,
"internal_query": null,
"internal_query_pos": null,
"leader_pid": null,
"location": null,
"process_id": 131765,
"query": "DROP DATABASE IF EXISTS "prisma_migrate_shadow_db_bc6a14d0-e0cc-444e-8a59-f2ecc536b348" WITH (FORCE)",
"query_id": -2164058870363172000,
"query_pos": null,
"session_id": "6795d434.202b5",
"session_line_num": 5,
"session_start_time": "2025-01-26 06:20:36 UTC",
"sql_state_code": "42501",
"timestamp": "2025-01-26 06:20:39.618 UTC",
"transaction_id": 0,
"user_name": "postgres",
"virtual_transaction_id": "12/5708"
}
],
"parsed_from": null,
"project": null,
"source_type": null
}
]
I was able to observe this error in logs
18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
I followed these instructions to setup. I see now it has been updated but this shoudl work right ? https://web.archive.org/web/20241129133947/https://supabase.com/partners/integrations/prisma
We have been running with the same setup for about a year now
18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
I havent created any othert users with the admin access, this is the user with the admin access that i got by default from supabase
18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless

18 replies
PPrisma
•Created by Manupa Samarawickrama on 1/25/2025 in #help-and-questions
Error During Migration: must be a member of pg_signal_backend in Supabase with Prisma on Serverless
@Nurul (Prisma) Yes exactly that's what's happening. It's the same database user I've been using so far. This is a really urgent issue that's blockign my entire org and would really appreciate support
18 replies
TTCTheo's Typesafe Cult
•Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Let me know once u build a project. I'll help you out in reviewing your code
9 replies
TTCTheo's Typesafe Cult
•Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Best way to learn IMHO would be to build something and then get feedback from a more senior dev,
9 replies
TTCTheo's Typesafe Cult
•Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Also if u have to write long types or alot of types as an simple app dev, you might be doing it wrong.
9 replies
TTCTheo's Typesafe Cult
•Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
TotalTS vids are indeed real life. In the sense that they refer to specific pain points that you come across. But u wont really find it usefu becuase you havent met it yourself
9 replies
TTCTheo's Typesafe Cult
•Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Best way to learn TS comes with time. Start building an app with TS straightaway.
9 replies
TTCTheo's Typesafe Cult
•Created by oljimenez on 12/15/2023 in #questions
Import components from outside of Nextjs app.
Any particular reason why are these components in a seperate folder
6 replies
TTCTheo's Typesafe Cult
•Created by Pavel Filo on 12/4/2023 in #questions
When to refetch query after mutation?
Why are u manually mutating instad of queryClient.invalidateQueries
5 replies
TTCTheo's Typesafe Cult
•Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
Then use fetch cache control and in demand revalidation whan you actally call it
9 replies
TTCTheo's Typesafe Cult
•Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
(Unless you want to use it to grab some quick json)
9 replies
TTCTheo's Typesafe Cult
•Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
As a principle I would suggest keep your route handler be force-dynamic
9 replies
TTCTheo's Typesafe Cult
•Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
you are referring to route handler cache
9 replies
TTCTheo's Typesafe Cult
•Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
Ah
9 replies