zakodium / adonis-mongodb

MongoDB provider for AdonisJS 5
https://zakodium.github.io/adonis-mongodb/
Other
64 stars 12 forks source link

Add `afterUpSuccess` method to migrations #145

Closed targos closed 1 year ago

targos commented 1 year ago
targos commented 1 year ago

I went with a method on Migration (instead of an option on defer) after discussing the problem again with @tpoisseau.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 81.25% and project coverage change: -0.02 :warning:

Comparison is base (b33e134) 92.96% compared to head (422e1b2) 92.94%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #145 +/- ## ========================================== - Coverage 92.96% 92.94% -0.02% ========================================== Files 9 9 Lines 540 539 -1 Branches 69 69 ========================================== - Hits 502 501 -1 Misses 38 38 ``` | [Impacted Files](https://app.codecov.io/gh/zakodium/adonis-mongodb/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/Migration.ts](https://app.codecov.io/gh/zakodium/adonis-mongodb/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL01pZ3JhdGlvbi50cw==) | `72.72% <76.92%> (-0.41%)` | :arrow_down: | | [src/Database/Connection.ts](https://app.codecov.io/gh/zakodium/adonis-mongodb/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL0RhdGFiYXNlL0Nvbm5lY3Rpb24udHM=) | `87.27% <100.00%> (ø)` | | | [src/Model/proxyHandler.ts](https://app.codecov.io/gh/zakodium/adonis-mongodb/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL01vZGVsL3Byb3h5SGFuZGxlci50cw==) | `100.00% <100.00%> (ø)` | |

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

targos commented 1 year ago

ping @stropitek