Cloudflare D1 and DrizzleKit Support
claughinghouse opened this issue · comments
Currently the D1 component only provides the databaseId
but in order to run migrations in DrizzleKit the config is missing the token
and accountId
. The accountId
could be hardcoded but ideally this could be dynamically injected via Resource
.
https://discord.com/channels/983865673656705025/983865673656705028/1245550554382467082
i'm not sure that we have token anywhere - is this referring to the cloudflare token? you will have to pass that yourself
Is the env used to pick up the accountId
and token
as a fallback?