Skip to content

feat: show local db url#8154

Draft
lemusthelroy wants to merge 2 commits intomainfrom
lemusthelroy/show-local-db-url
Draft

feat: show local db url#8154
lemusthelroy wants to merge 2 commits intomainfrom
lemusthelroy/show-local-db-url

Conversation

@lemusthelroy
Copy link
Copy Markdown
Contributor

@lemusthelroy lemusthelroy commented Apr 15, 2026

🎉 Thanks for submitting a pull request! 🎉

Summary

When using Netlify database, this displays the database connection URL in the dev server output, making it easier to run migrations or connect with external tools.

Eg:
⬥ Local DB ready: postgres://localhost:51766/postgres

I found this helpful when I was using the feature locally and wanted to run migrations myself, e.g. psql "postgres://localhost:51766/postgres" -f netlify/db/migrations/001_create-user.sql.


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 15, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c9534fef-ca81-4fdc-a1ef-b72e3294c76e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch lemusthelroy/show-local-db-url

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

📊 Benchmark results

Comparing with 0188275

  • Dependency count: 1,060 (no change)
  • Package size: 354 MB (no change)
  • Number of ts-expect-error directives: 356 (no change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant