© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago•
1 reply
Matt

Struggling when changing tables relationships or columns

I find myself getting errors such as quite regularly

[cause]: [ResponseError: SQLite error: no such table: main.old_push_business] {
code: 'SQLITE_UNKNOWN',
proto: {
message: 'SQLite error: no such table: main.
old_push_business',
code: 'SQLITE_UNKNOWN'
}
}
}

It normally happens when I've changed a relationship or a column. I'll push the changes, it appears to be successful, I'll then try to run studio, which just gives me the loading spinner on the left where the columns normally are. I'll then try and push again and errors such as the above.

This happens a lot, the work around I've found, at least locally, is to recreate the local db and push again which then seems to reset everything (I'm using LibSQL/Turso).

Am I doing something fundamentally wrong that's causing these issues?
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

Adding Columns or Merging Tables
Drizzle TeamDTDrizzle Team / help
3y ago
Inserting into tables with foreign key relationships
Drizzle TeamDTDrizzle Team / help
2y ago
2 tables cannot reference each others columns?
Drizzle TeamDTDrizzle Team / help
2y ago
Cannot join tables where the columns name are the same.
Drizzle TeamDTDrizzle Team / help
3y ago