workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: Enable foreign key support on local D1 database to align with remote D1 databases
Describe the solution
It seems that remote D1 databases have foreign key support enabled by default on creation. As an aside, it seems it can't be turned off.
Wrangler seems to create a local D1 database with foreign key support off.
Ask that wrangler create local D1 databases with foreign key support enabled to align with remote D1 databases.