revoframework / Revo

Event Sourcing, CQRS and DDD framework for C#/.NET Core.
https://docs.revoframework.net/
MIT License
644 stars 70 forks source link

Bugfix/multiple db migration providers #70

Closed martinzima closed 6 months ago

martinzima commented 6 months ago

-fixed support for multiple registered IDatabaseMigrationProvider(s) -added overridable AdoNetStubDatabaseMigrationProvider.GetSqlMigrationCommands

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 54.54545% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 35.41%. Comparing base (7e2b709) to head (dbfeb49).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/revoframework/Revo/pull/70/graphs/tree.svg?width=650&height=150&src=pr&token=1ZYN4m1hkn&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework)](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) ```diff @@ Coverage Diff @@ ## develop #70 +/- ## =========================================== - Coverage 35.49% 35.41% -0.09% =========================================== Files 473 473 Lines 6575 6576 +1 Branches 775 777 +2 =========================================== - Hits 2334 2329 -5 - Misses 4137 4142 +5 - Partials 104 105 +1 ``` | [Files](https://app.codecov.io/gh/revoframework/Revo/pull/70?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) | Coverage Δ | | |---|---|---| | [...DataAccess/Migrations/DatabaseMigrationExecutor.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL01pZ3JhdGlvbnMvRGF0YWJhc2VNaWdyYXRpb25FeGVjdXRvci5jcw==) | `92.85% <ø> (ø)` | | | [...DataAccess/Migrations/DatabaseMigrationSelector.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL01pZ3JhdGlvbnMvRGF0YWJhc2VNaWdyYXRpb25TZWxlY3Rvci5jcw==) | `100.00% <ø> (ø)` | | | [.../DataAccess/Migrations/FileSqlDatabaseMigration.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL01pZ3JhdGlvbnMvRmlsZVNxbERhdGFiYXNlTWlncmF0aW9uLmNz) | `87.09% <100.00%> (ø)` | | | [.../DataAccess/StaticClassifierDatabaseInitializer.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL1N0YXRpY0NsYXNzaWZpZXJEYXRhYmFzZUluaXRpYWxpemVyLmNz) | `100.00% <100.00%> (ø)` | | | [...ture/DataAccess/Migrations/SqlDatabaseMigration.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL01pZ3JhdGlvbnMvU3FsRGF0YWJhc2VNaWdyYXRpb24uY3M=) | `45.00% <0.00%> (ø)` | | | [...s/Providers/AdoNetStubDatabaseMigrationProvider.cs](https://app.codecov.io/gh/revoframework/Revo/pull/70?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework#diff-UmV2by5JbmZyYXN0cnVjdHVyZS9EYXRhQWNjZXNzL01pZ3JhdGlvbnMvUHJvdmlkZXJzL0Fkb05ldFN0dWJEYXRhYmFzZU1pZ3JhdGlvblByb3ZpZGVyLmNz) | `0.00% <0.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/revoframework/Revo/pull/70/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/revoframework/Revo/pull/70?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/revoframework/Revo/pull/70?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). Last update [7e2b709...dbfeb49](https://app.codecov.io/gh/revoframework/Revo/pull/70?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=revoframework).