Drizzle:push cannot read properties of undefined(reading 'name')

Database: Planetscale Hi team, I tried to run drizzle:push but it returns an error of TypeError: Cannot read properties of undefined (reading 'name') I have checked my tables and every columns has a name... Details of error be like
TypeError: Cannot read properties of undefined (reading 'name')
at /Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11701:25
at Array.map (<anonymous>)
at /Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11697:39
at Array.forEach (<anonymous>)
at generateMySqlSnapshot (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11694:17)
at serializeMySql (/Users/pro/comcordv3/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:13158:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async prepareMySqlDbPushSnapshot (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:13203:26)
at async prepareMySQLPush (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:14693:31)
at async Command.<anonymous> (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:53223:22)
TypeError: Cannot read properties of undefined (reading 'name')
at /Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11701:25
at Array.map (<anonymous>)
at /Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11697:39
at Array.forEach (<anonymous>)
at generateMySqlSnapshot (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:11694:17)
at serializeMySql (/Users/pro/comcordv3/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:13158:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async prepareMySqlDbPushSnapshot (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:13203:26)
at async prepareMySQLPush (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:14693:31)
at async Command.<anonymous> (/Users/pro/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.cjs:53223:22)
I did abruptly aborted several push commands, could this be the reason why it broke?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server