Skip to content

feat: [#612] Optimize install Database#1218

Merged
hwbrzzl merged 2 commits intomasterfrom
bowen/optimize-install-database
Oct 4, 2025
Merged

feat: [#612] Optimize install Database#1218
hwbrzzl merged 2 commits intomasterfrom
bowen/optimize-install-database

Conversation

@hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Oct 3, 2025

📑 Description

Relate goravel/goravel#612

✅ Checks

  • Added test cases for my code

@codecov
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.57%. Comparing base (5eab81f) to head (cd0ce9d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1218   +/-   ##
=======================================
  Coverage   66.57%   66.57%           
=======================================
  Files         237      237           
  Lines       15845    15845           
=======================================
  Hits        10549    10549           
  Misses       4930     4930           
  Partials      366      366           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hwbrzzl hwbrzzl marked this pull request as ready for review October 4, 2025 13:19
@hwbrzzl hwbrzzl requested a review from a team as a code owner October 4, 2025 13:19
Copilot AI review requested due to automatic review settings October 4, 2025 13:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR optimizes the database installation process by simplifying the default configuration and adding explicit database driver specifications. The changes aim to improve the database setup flow by removing environment variable dependencies during initial installation and providing clear driver options.

  • Removed environment variable dependency for default database connection during setup
  • Added explicit database driver specifications for both Database and Queue bindings

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
database/setup/stubs.go Simplified default database connection to empty string instead of environment variable
contracts/binding/binding.go Added explicit database driver arrays for Database and Queue binding configurations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@hwbrzzl hwbrzzl merged commit 614ddd1 into master Oct 4, 2025
14 checks passed
@hwbrzzl hwbrzzl deleted the bowen/optimize-install-database branch October 4, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants