matsyui
matsyui
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
No description
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
Prisma schema loaded from prisma\schema.prisma Environment variables loaded from .env Datasource "db": PostgreSQL database "postgres", schema "public" at "db.xjrojetqxogakrymemsd.supabase.co:5432" ✖ Introspecting based on datasource defined in prisma\schema.prisma Error: P1001 Can't reach database server at db.xjrojetqxogakrymemsd.supabase.co:5432 Please make sure your database server is running at db.xjrojetqxogakrymemsd.supabase.co:5432.
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
its been 1hour
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
i dont actually know if there's problem with my prisma, or there's a problem with the supabase URI, or maybe i am the problem. :thinkinghyperfast:
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
almost out for work still Introspecting what the hek did i do wrong 😭 is this updated T_T https://www.prisma.io/docs/orm/overview/databases/supabase#specific-considerations
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
No description
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
Additional info: it's in a custom schema because i migrated a mysql database to supabase using pgloader
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
schema.prisma:
generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["project-schema"]
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["project-schema"]
}
14 replies
PPrisma
Created by matsyui on 3/27/2025 in #help-and-questions
Prisma db pull Extremely Slow on Supabase with Custom Schema
No description
14 replies
PPrisma
Created by matsyui on 7/22/2024 in #help-and-questions
Not updating types
nvm i have to npx prisma generate after db pull
6 replies
PPrisma
Created by matsyui on 7/22/2024 in #help-and-questions
Not updating types
i restarted everything
6 replies
PPrisma
Created by matsyui on 7/22/2024 in #help-and-questions
Not updating types
schema types are updated but on code when using it cant find the updated one
6 replies
PPrisma
Created by matsyui on 6/19/2024 in #help-and-questions
Invalid `prisma.account.findUnique()` invocation:
6 replies
PPrisma
Created by matsyui on 6/19/2024 in #help-and-questions
Invalid `prisma.account.findUnique()` invocation:
oh i forgot
"dependencies": {
"@auth/prisma-adapter": "^1.3.3",
"@hookform/resolvers": "^3.3.4",
"@prisma/client": "^5.9.1",
"bcryptjs": "^2.4.3",
"md5": "^2.3.0",
"next": "14.1.0",
"next-auth": "5.0.0-beta.5",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.50.1",
"react-hot-toast": "^2.4.1",
"tailwind-merge": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/md5": "^2.3.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.17",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"postcss": "^8",
"prisma": "^5.9.1",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
"typescript": "^5"
}
"dependencies": {
"@auth/prisma-adapter": "^1.3.3",
"@hookform/resolvers": "^3.3.4",
"@prisma/client": "^5.9.1",
"bcryptjs": "^2.4.3",
"md5": "^2.3.0",
"next": "14.1.0",
"next-auth": "5.0.0-beta.5",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.50.1",
"react-hot-toast": "^2.4.1",
"tailwind-merge": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/md5": "^2.3.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.17",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"postcss": "^8",
"prisma": "^5.9.1",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
"typescript": "^5"
}
6 replies