Local first with sqlocal and drizzle

Hello, please I need some help especially if anyone have experience using the sqlocal database. I am using sqlocal (https://sqlocal.dev) on my frontend with Sveltekit. I followed the docs to set it up with drizzle ORM. But while trying to do an insertion, it says "no such table: products" I guess there's a way to initialize the database with the appropriate tables, but am not finding that in the docs. Please any assistance is highly appreciated. Thanks 👍.
SQLocal
SQLocal makes it easy to run SQLite3 in the browser, backed by the origin private file system.
No description
No description
2 Replies
thedelanyo
thedelanyoOP4w ago
These are basically my sqlocal setup and usage.
oke
oke3w ago
Have you generated and run migrations, so that schema file changes apply to your database ?

Did you find this page helpful?