The .sql file extension is now automatically configured to be importable in your Worker code when using Wrangler or the Cloudflare Vite plugin.
This is particular useful for importing migrations in Durable Objects and means you no longer need to configure custom rules when using Drizzle.
SQL files are imported as JavaScript strings:
// `example` will be a JavaScript stringimport example from "./example.sql";Source: Cloudflare
Latest Posts
- Amazon ECS adds Amazon VPC Lattice support for blue/green, linear, and canary deployments

- MC1166852: Microsoft Viva Copilot Analytics Adds Agent Dashboard for Adoption and Credit Insights

- Access, Cloudflare One – New strict service token authentication setting for Access

- Rules – hash_in_range() is globally available for HTTP products







