PhilanthropyDataCommons / service

A project for collecting and serving public information associated with grant applications
GNU Affero General Public License v3.0
8 stars 2 forks source link

Fix migration hang #948

Closed slifty closed 4 months ago

slifty commented 4 months ago

This PR closes the migration process in the event that they are successful.

You should now be able to run npm run migrate and it will exit right after migrations complete without requiring you to close the process manually.

Resolves #947

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 88.21%. Comparing base (76a955e) to head (dbda1e6).

Files Patch % Lines
src/scripts/migrate.ts 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #948 +/- ## ========================================== - Coverage 88.32% 88.21% -0.11% ========================================== Files 123 123 Lines 1704 1706 +2 Branches 210 210 ========================================== Hits 1505 1505 - Misses 183 185 +2 Partials 16 16 ```

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