rynite
rynite
CDCloudflare Developers
Created by rynite on 9/2/2023 in #general-help
D1 realtime?
How can I make D1 realtime? I've tried looking into web sockets, but I first have to find a way to track DB changes, like an onChange function or something that gets triggered once something happens in the DB, any ideas?
1 replies
CDCloudflare Developers
Created by rynite on 8/30/2023 in #general-help
"D1_ERROR: SqliteError: no such table"
Hello, I have a project that uses D1 and wrangler, so I generate the schema with drizzle, and then run apply my migrations to my database, I also confirmed that the id in my wrangler.toml is correct and the tables do exist on the D1 dashboard, confirmed the same thing with the CLI as well, but..... when I run wrangler dev and head to the server and send requests, I get the above error, I don't know why D1 can't find the table although it exists on both the CLI and the web dashboard, may someone please help me out here? Because I've been battling this since yesterday with no luck.
8 replies