© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
4 replies
Vonyc

Error when calling drizzle-kit push:pg again

When I call the command for the first time, everything is fine, everything is entered into the database, but if I call it the 2nd time. The following error appears:
drizzle-kit: v0.19.9
drizzle-orm: v0.27.2

No config path provided, using default 'drizzle.config.ts'
Reading config file '.../drizzle.config.ts'
.../node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40646
        const message = name === "notice" ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
                                                                                                 ^

error: relation "public.verificationtoken" does not exist
    at Parser.parseErrorMessage (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40646:98)
    at Parser.handlePacket (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40487:25)
    at Parser.parse (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40411:34)
    at TLSSocket.<anonymous> (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40687:44)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 128,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '1230',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'namespace.c',
  line: '428',
  routine: 'RangeVarGetRelidExtended'
}
drizzle-kit: v0.19.9
drizzle-orm: v0.27.2

No config path provided, using default 'drizzle.config.ts'
Reading config file '.../drizzle.config.ts'
.../node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40646
        const message = name === "notice" ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
                                                                                                 ^

error: relation "public.verificationtoken" does not exist
    at Parser.parseErrorMessage (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40646:98)
    at Parser.handlePacket (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40487:25)
    at Parser.parse (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40411:34)
    at TLSSocket.<anonymous> (...node_modules/.pnpm/drizzle-kit@0.19.9/node_modules/drizzle-kit/index.cjs:40687:44)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 128,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '1230',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'namespace.c',
  line: '428',
  routine: 'RangeVarGetRelidExtended'
}
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

error when trying to run drizzle-kit push:pg
Drizzle TeamDTDrizzle Team / help
3y ago
Drizzle-kit push:pg not working
Drizzle TeamDTDrizzle Team / help
3y ago
drizzle-kit push error
Drizzle TeamDTDrizzle Team / help
2y ago
Error when executing drizzle-kit push
Drizzle TeamDTDrizzle Team / help
2y ago