NeonN
Neon2y ago
40 replies
progressive-amaranth

not able to mutate the data

when I am submitting the form, I am getting an error
 NeonDbError: column "content" of relation "post_table" does not exist
    at async $$ACTION_0 (./src/db/queries.ts:18:5)
digest: "960546850"

column "content" of relation "post_table" contains null values
    at ErrorResponse (C:\Users\win 10\Desktop\yogurt\node_modules\drizzle-kit\bin.cjs:71410:27)
    at handle (C:\Users\win 10\Desktop\yogurt\node_modules\drizzle-kit\bin.cjs:71187:7)
    at TLSSocket.data (C:\Users\win 10\Desktop\yogurt\node_modules\drizzle-kit\bin.cjs:71010:9)
    at TLSSocket.emit (node:events:515:28)
    at addChunk (node:internal/streams/readable:545:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:495:3)
    at Readable.push (node:internal/streams/readable:375:5)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
  severity_local: 'ERROR',
  severity: 'ERROR',
  code: '23502',
  schema_name: 'public',
  table_name: 'post_table',
  column_name: 'content',
  file: 'tablecmds.c',
  line: '6042',
  routine: 'ATRewriteTable'
}

it's showing three columns when I am running the cmd npx drizzle-kit generate but I am seeing only two tables in the drizzle-studio

any help would be highly appreciated



https://github.com/Boby900/yogurt
Screenshot_544.png
Screenshot_545.png
Screenshot_546.png
GitHub
Contribute to Boby900/yogurt development by creating an account on GitHub.
GitHub - Boby900/yogurt
Was this page helpful?