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
- Durable Objects, Workers – New Asia-Pacific location hints: apac-ne and apac-se

- Durable Objects – Outbound connections keep Durable Objects alive

- (Updated) Upcoming change: Microsoft 365 Apps SAEC and MEC will unify [MC1274325]
![(Updated) Upcoming change: Microsoft 365 Apps SAEC and MEC will unify [MC1274325] 4 pexels mccutcheon 1148998](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Dynamics 365 Customer Service – Policy strictness control for governance rules [MC1397526]
![Dynamics 365 Customer Service - Policy strictness control for governance rules [MC1397526] 5 pexels pixabay 534174](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)



![(Updated) Upcoming change: Microsoft 365 Apps SAEC and MEC will unify [MC1274325] 4 pexels mccutcheon 1148998](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-mccutcheon-1148998-150x150.webp)
![Dynamics 365 Customer Service - Policy strictness control for governance rules [MC1397526] 5 pexels pixabay 534174](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-534174-150x150.webp)
![(Updated) Microsoft Teams: Improved organization chart in Profile Card (Desktop, Mac, Web) [MC1151242] 7 (Updated) Microsoft Teams: Improved organization chart in Profile Card (Desktop, Mac, Web) [MC1151242]](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-googledeepmind-25626509-96x96.webp)