Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [#280] Optimize migration command #680

Merged
merged 12 commits into from
Oct 18, 2024

Merge branch 'master' into bowen/#280-8

31df1dd
Select commit
Loading
Failed to load commit list.
Merged

feat: [#280] Optimize migration command #680

Merge branch 'master' into bowen/#280-8
31df1dd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 18, 2024 in 0s

69.30% (+0.37%) compared to 3902196

View this Pull Request on Codecov

69.30% (+0.37%) compared to 3902196

Details

Codecov Report

Attention: Patch coverage is 64.86486% with 104 lines in your changes missing coverage. Please review.

Project coverage is 69.30%. Comparing base (3902196) to head (31df1dd).

Files with missing lines Patch % Lines
database/migration/sql_driver.go 60.49% 22 Missing and 10 partials ⚠️
database/migration/schema.go 33.33% 23 Missing and 3 partials ⚠️
database/service_provider.go 0.00% 17 Missing ⚠️
database/console/migration/migrate_command.go 33.33% 6 Missing and 2 partials ⚠️
database/migration/default_driver.go 87.93% 6 Missing and 1 partial ⚠️
database/migration/repository.go 58.33% 0 Missing and 5 partials ⚠️
database/gorm/test_utils.go 89.28% 2 Missing and 1 partial ⚠️
database/console/migration/migrate.go 60.00% 2 Missing ⚠️
database/orm.go 50.00% 2 Missing ⚠️
database/console/migration/migrate_make_command.go 75.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
+ Coverage   68.93%   69.30%   +0.37%     
==========================================
  Files         189      189              
  Lines       14477    14571      +94     
==========================================
+ Hits         9980    10099     +119     
+ Misses       3915     3882      -33     
- Partials      582      590       +8     

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