Comments (1)
I can confirm the problem
npx prisma migrate dev
Environment variables loaded from prisma/.env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "24331-dev" at "localhost:5432"
✔ Enter a name for the new migration: …
Applying migration `20240529123216_`
Error: P3018
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Migration name: 20240529123216_
Database error code: 42601
Database error:
ERROR: syntax error at or near ","
Position:
0
1 -- AlterTable
2 ALTER TABLE "Fruits" RENAME CONSTRAINT "custom_name" TO "Fruits_pkey",
DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42601), message: "syntax error at or near \",\"", detail: None, hint: None, position: Some(Original(84)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("scan.l"), line: Some(1127), routine: Some("scanner_yyerror") }
from prisma.
Related Issues (20)
- [Instrumentation] `registerInstrumentations` uses the global provider instead of the one passed in HOT 1
- Database migration error HOT 3
- Prisma Multiple Schema Migrations HOT 10
- `migrate diff` complains about schema not listed even though it is present HOT 1
- `prisma:engine:db_query` span missing for `count`/`aggregate` with MongoDB
- Prisma `Unsupported()` columns can be overwritten HOT 5
- Type issue where field is not null HOT 2
- Missing generated Enum in typescript definition when Enum isn't used in Prisma table
- internal error: entered unreachable code HOT 2
- Edge runtime incompatibility error on `$on` or `$use` usage attempt HOT 4
- Return a proper error code and description when encountering zero dates
- Filtering by relationship using "some" results in inefficient queries due to un-correlated sub queries
- Support nested queries in `query` extension
- Not possible to omit optional fields in Mongo HOT 2
- Slow generate, then add new models and it got faster ( °o°) HOT 6
- called `Option::unwrap()` on a `None` value HOT 1
- Bug (D1 migrations): IDs of optional relations are lost quietly during migration HOT 3
- prisma migrate dev fails with Error: P1017 (prisma > 5.9.1) HOT 2
- MySQL migration invalid default value @default(now())
- Bug: [D1] Error in performIO: Error: D1_ERROR: too many SQL variables HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prisma.