nervosnetwork / fiber

21 stars 11 forks source link

Add database migration #315

Open chenyukang opened 6 days ago

chenyukang commented 6 days ago

Closes #117

codecov-commenter commented 6 days ago

Codecov Report

Attention: Patch coverage is 64.58333% with 68 lines in your changes missing coverage. Please review.

Project coverage is 44.76%. Comparing base (27d6b47) to head (18bd9a8).

Files with missing lines Patch % Lines
src/store.rs 43.24% 42 Missing :warning:
src/migration/migration.rs 73.86% 23 Missing :warning:
src/migration/db_migrate.rs 86.66% 2 Missing :warning:
src/fiber/serde_utils.rs 93.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #315 +/- ## ========================================== + Coverage 44.65% 44.76% +0.10% ========================================== Files 44 46 +2 Lines 28075 28233 +158 ========================================== + Hits 12538 12638 +100 - Misses 15537 15595 +58 ``` | [Flag](https://app.codecov.io/gh/nervosnetwork/fiber/pull/315/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nervosnetwork/fiber/pull/315/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | `44.76% <64.58%> (+0.10%)` | :arrow_up: | 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=nervosnetwork#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.