in my `wrangler.toml` file I have this: ``` [[d1_databases]] binding = "db" database_name = "prod-m

in my wrangler.toml file I have this:

[[d1_databases]]
binding = "db"
database_name = "prod-main"
database_id = "[uuid1]"
preview_database_id = "[uuid2]"


(it's a sveltekit app) however the preview deployments still use the production database... I thought that setting the preview_database_id to the uuid of the preview database would suffice, but apparently it doesn't. In the D1 documentation I could only find https://developers.cloudflare.com/d1/configuration/environments/ but the config used looks vastly different than mine. what do I have to do? 😅
Was this page helpful?