© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
Jakesdoc

Failed push to planetscale

Every time I try to push my schema to Planetscale, I get the following error:
      if (unsquashed.columns.length === 1 && currentSchema.tables[statement.tableName].columns[unsquashed.columns[0]].type === "serial" && prevSchema.tables[statement.tableName].columns[unsquashed.columns[0]].type === "serial" && currentSchema.tables[statement.tableName].columns[unsquashed.columns[0]].name === unsquashed.columns[0]) {
                                                                                                                      ^

TypeError: Cannot read properties of undefined (reading 'type')
      if (unsquashed.columns.length === 1 && currentSchema.tables[statement.tableName].columns[unsquashed.columns[0]].type === "serial" && prevSchema.tables[statement.tableName].columns[unsquashed.columns[0]].type === "serial" && currentSchema.tables[statement.tableName].columns[unsquashed.columns[0]].name === unsquashed.columns[0]) {
                                                                                                                      ^

TypeError: Cannot read properties of undefined (reading 'type')
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Planetscale db:push has issues with default values
Drizzle TeamDTDrizzle Team / help
3y ago
SSL/TLS error when running push:mysql with planetscale
Drizzle TeamDTDrizzle Team / help
3y ago
planetscale
Drizzle TeamDTDrizzle Team / help
3y ago
How to drop a failed drizzle-kit push?
Drizzle TeamDTDrizzle Team / help
2y ago