PrismaP
Prisma9mo ago
6 replies
vpjm

P2022 : The column `colonne` does not exist in the current database.

The column is probably named 'colonne' because I'm French, but at no point in my code do I have a column named 'colonne'

→ 56 await prisma.user.create(
The column `colonne` does not exist in the current database.
    at Zn.handleRequestError (---\node_modules\@prisma\client\runtime\library.js:121:7459) 
    at Zn.handleAndLogRequestError (---\node_modules\@prisma\client\runtime\library.js:121:6784) 
    at Zn.request (---\node_modules\@prisma\client\runtime\library.js:121:6491) 
    at async l (---\node_modules\@prisma\client\runtime\library.js:130:9778) 
    at seed (---\db\prisma\src\seed\index.ts:56:5) 
    at main (---\db\prisma\src\seed\index.ts:85:9) { 
  code: 'P2022',
  meta: { modelName: 'User', column: 'colonne' },
  clientVersion: '6.7.0'
}


I've pushed, generated, dropped all, reset, and migrated countless times.

"prisma": "^6.8.2",
Was this page helpful?