fix: auto-select database connector based on deploy preset#73
Conversation
- bun → bun-sqlite - cloudflare → cloudflare-d1 - default (node/vercel) → sqlite Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe PR refactors database connector configuration to support multiple runtime environments. A new ChangesDatabase connector selection helper
🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Auto-select the Nitro database connector based on the deploy preset instead of hardcoding
sqlite.See Nitro Database Connectors for full list.
bunbun-sqlitecloudflare/cloudflare-pages/cloudflare-modulecloudflare-d1sqliteTest plan
sqliteconnector--preset bunusesbun-sqlite