Open claughinghouse opened 2 weeks ago
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.
databaseId
token
accountId
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?
Currently the D1 component only provides the
databaseId
but in order to run migrations in DrizzleKit the config is missing thetoken
andaccountId
. TheaccountId
could be hardcoded but ideally this could be dynamically injected viaResource
.https://discord.com/channels/983865673656705025/983865673656705028/1245550554382467082