Mas0n
Mas0n
Explore posts from servers
PPrisma
Created by Mas0n on 3/31/2025 in #help-and-questions
Issue migrating a vector field
evelyn % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-us-east-1.pooler.supabase.com:5432"

Error: P3006

Migration `20250331035432_add_calendar_subscription` failed to apply cleanly to the shadow database.
Error:
ERROR: type "vector" does not exist
0: sql_schema_connector::validate_migrations
with namespaces=None
at schema-engine/connectors/sql-schema-connector/src/lib.rs:364
1: schema_core::state::DevDiagnostic
at schema-engine/core/src/state.rs:275
evelyn % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-us-east-1.pooler.supabase.com:5432"

Error: P3006

Migration `20250331035432_add_calendar_subscription` failed to apply cleanly to the shadow database.
Error:
ERROR: type "vector" does not exist
0: sql_schema_connector::validate_migrations
with namespaces=None
at schema-engine/connectors/sql-schema-connector/src/lib.rs:364
1: schema_core::state::DevDiagnostic
at schema-engine/core/src/state.rs:275
Would appreciate some help, I already reset my database
5 replies
PPrisma
Created by Mas0n on 2/4/2025 in #help-and-questions
Prisma initialization failing in prod Prisma Postgres
⨯ Error [PrismaClientInitializationError]:
Invalid `prisma.user.findUnique()` invocation:


error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
--> schema.prisma:8
|
7 | provider = "postgresql"
8 | url = env("DATABASE_URL")
|

Validation Error Count: 1
at <unknown> (--> schema.prisma:8)
at async k (.next/server/app/inbox/page.js:1:11022) {
clientVersion: '6.2.1',
errorCode: undefined,
digest: '2087436669'
}
⨯ Error [PrismaClientInitializationError]:
Invalid `prisma.user.findUnique()` invocation:


error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
--> schema.prisma:8
|
7 | provider = "postgresql"
8 | url = env("DATABASE_URL")
|

Validation Error Count: 1
at <unknown> (--> schema.prisma:8)
at async k (.next/server/app/inbox/page.js:1:11022) {
clientVersion: '6.2.1',
errorCode: undefined,
digest: '2087436669'
}
8 replies
Mmfad
Created by Mas0n on 11/15/2023 in #questions-and-advice
Busy college student wanting to dress nicer
Hey everyone, ive been lurking here a bit and want to start taking action and leveling up my fashion. I enjoy dressing nicely / casually but am just a bit overwhelmed on where to start and how to pair the basic wardrobe with footwear, hope this makes sense
11 replies