propelorm / Propel2

Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
http://propelorm.org/
MIT License
1.26k stars 393 forks source link

Implemented migration rollback. #1930

Closed romanhavrylko closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Base: 88.28% // Head: 86.18% // Decreases project coverage by -2.10% :warning:

Coverage data is based on head (8ac1907) compared to base (49dc1ba). Patch coverage: 87.43% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1930 +/- ## ============================================ - Coverage 88.28% 86.18% -2.11% - Complexity 7951 7976 +25 ============================================ Files 242 243 +1 Lines 24211 24306 +95 ============================================ - Hits 21375 20947 -428 - Misses 2836 3359 +523 ``` | Flag | Coverage Δ | | |---|---|---| | 5-max | `86.18% <87.43%> (-2.11%)` | :arrow_down: | | 7.4 | `86.18% <87.43%> (-2.11%)` | :arrow_down: | | agnostic | `67.32% <0.00%> (-0.27%)` | :arrow_down: | | mysql | `?` | | | pgsql | `69.16% <87.43%> (+0.16%)` | :arrow_up: | | sqlite | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/propelorm/Propel2/pull/1930?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm) | Coverage Δ | | |---|---|---| | [...ropel/Generator/Command/MigrationStatusCommand.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQ29tbWFuZC9NaWdyYXRpb25TdGF0dXNDb21tYW5kLnBocA==) | `10.20% <11.11%> (+0.09%)` | :arrow_up: | | [...el/Generator/Command/Executor/RollbackExecutor.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQ29tbWFuZC9FeGVjdXRvci9Sb2xsYmFja0V4ZWN1dG9yLnBocA==) | `81.42% <81.42%> (ø)` | | | [...opel/Generator/Command/MigrationMigrateCommand.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQ29tbWFuZC9NaWdyYXRpb25NaWdyYXRlQ29tbWFuZC5waHA=) | `81.08% <93.75%> (+6.08%)` | :arrow_up: | | [src/Propel/Generator/Manager/MigrationManager.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvTWFuYWdlci9NaWdyYXRpb25NYW5hZ2VyLnBocA==) | `97.94% <98.80%> (+0.68%)` | :arrow_up: | | [.../Propel/Generator/Command/MigrationDownCommand.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvQ29tbWFuZC9NaWdyYXRpb25Eb3duQ29tbWFuZC5waHA=) | `94.44% <100.00%> (+17.60%)` | :arrow_up: | | [...rc/Propel/Generator/Reverse/SqliteSchemaParser.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvUmV2ZXJzZS9TcWxpdGVTY2hlbWFQYXJzZXIucGhw) | `0.00% <0.00%> (-93.13%)` | :arrow_down: | | [src/Propel/Generator/Reverse/MysqlSchemaParser.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvUmV2ZXJzZS9NeXNxbFNjaGVtYVBhcnNlci5waHA=) | `0.00% <0.00%> (-90.31%)` | :arrow_down: | | [src/Propel/Runtime/Adapter/Pdo/MysqlAdapter.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9SdW50aW1lL0FkYXB0ZXIvUGRvL015c3FsQWRhcHRlci5waHA=) | `28.26% <0.00%> (-36.96%)` | :arrow_down: | | [src/Propel/Generator/Platform/SqlitePlatform.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvUGxhdGZvcm0vU3FsaXRlUGxhdGZvcm0ucGhw) | `58.00% <0.00%> (-36.00%)` | :arrow_down: | | [.../Propel/Generator/Reverse/AbstractSchemaParser.php](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm#diff-c3JjL1Byb3BlbC9HZW5lcmF0b3IvUmV2ZXJzZS9BYnN0cmFjdFNjaGVtYVBhcnNlci5waHA=) | `39.53% <0.00%> (-27.91%)` | :arrow_down: | | ... and [16 more](https://codecov.io/gh/propelorm/Propel2/pull/1930/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=propelorm)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

mringler commented 1 year ago

Hey @romanhavrylko , if it helps, you can easily run the tests locally, there is a guide here. This allows you to run individual files, and should allow for faster development. Let me know if I can help you getting this over the finish line.