Repository navigation
Avoid db:local script for D1 database - #362
Conversation
🦋 Changeset detectedLatest commit: 2cd7f38 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThe logic for including the "db:local" script in the server's package.json was updated. Now, the script is only added if the database is "sqlite", the ORM is "drizzle", and the database setup option is not "d1", further restricting when this script appears. Additionally, the README generation was modified to provide different local development instructions for the "d1" database setup versus other SQLite setups. Changes
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thanks @martinnormark |
I believe the
db:localscript is not needed when Cloudflare D1 was selected?Summary by CodeRabbit