Drizzle is a popular ORM for TS/JS applications, and Quotion is built on it.
The error
I have encountered the cannot read properties of undefined (reading 'columns')
error quite a few times, as shown below:
The solution
The error message isn’t very helpful, and the root cause may be that you have forgotten to export some tables as a schema, especially when you use folders to save table files, you created a new table but forgot to export it as schema.
The fix is quite simple: you just need to export all your database tables as the schema, and this issue should be gone.
Hope it resolves your errors as well. 🙏
Create your blogs directly from Apple Notes.
Say goodbye to complex CMS updates and management issues!
You focus on creating quality content while Quotion takes care of the rest.
Subscribe to Quotion
Get the latest posts delivered to your inbox. No spam, unsubscribe anytime.
Latest
More from the site
Qing
Quotion May Product Updates
Here are the latest features and improvements we've shipped. Newsletters Transform Apple Notes into engaging newsletters. Our dashboard makes it simple to manage and send updates directly to your audi
Read post
Qing
Quotion April Product Updates
Here's a look at the latest features and improvements we've rolled out for Quotion. We aim to send updates for significant changes, but you can always find the latest news on our changelog page. AI-g
Read post
Qing
Apple Notes to websites
#featured Ever wondered if you could transform your Apple Notes into stunning websites? Well, now you can with Quotion - and it's easier than you might think! TL;DR Go to quotion.co Sign up as a new
Read post