feat: install DB,Orm,Schema,Seeder facades#1193
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1193 +/- ##
=======================================
Coverage 69.49% 69.49%
=======================================
Files 229 229
Lines 14391 14391
=======================================
Hits 10001 10001
Misses 4032 4032
Partials 358 358 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7c8b8ca to
42d1a31
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds database facade installation functionality by introducing DB, Orm, Schema, and Seeder facades to the Goravel framework setup system. The changes transform the static database configuration into a dynamic stub-based system that generates facade files and configuration based on module parameters.
- Refactors database configuration from static content to dynamic template-based generation
- Adds four new database facade stub generators (DB, Orm, Schema, Seeder)
- Implements conditional installation/uninstallation logic for database facades
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| database/setup/stubs.go | Adds Stubs struct with methods to generate database config, facades, and kernel templates |
| database/setup/setup.go | Updates setup logic to use dynamic stubs and handle conditional facade installation/uninstallation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* feat: install DB,Orm,Schema,Seeder facades * optimize
📑 Description
Relate goravel/goravel#612
✅ Checks