it seems like Hyperdrive is just for reads not writes
it seems like Hyperdrive is just for reads not writes


npm run generate for drizzle to create the SQL
mkdir drizzle
touch drizzle/0000_short_lockheed.sql
wrangler d1 execute 'cloudflare-db' --local --file='./drizzle/0000_short_lockheed.sql'
✘ [ERROR] Error: must provide --command or --file.
If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
🪵 Logs were written to "/Users/administrator/Library/Preferences/.wrangler/logs/wrangler-2023-11-23_11-23-02_962.log"wrangler 3.17.1npm run generatewrangler d1 execute 'cloudflare-db' --local --file='./drizzle/0000_short_lockheed.sql'
✘ [ERROR] Could not read file: ./drizzle/0000_short_lockheed.sql
ENOENT: no such file or directory, open
'/Users/administrator/backend/project/drizzle/0000_short_lockheed.sql'
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose