Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(migrations): add migrations module #1143

Merged
merged 3 commits into from
Aug 5, 2021

Conversation

garrappachc
Copy link
Member

Add MigrationsModule that handles running the migrations automatically on application startup.

@garrappachc garrappachc added the enhancement New feature or request label Aug 5, 2021
@codecov
Copy link

codecov bot commented Aug 5, 2021

Codecov Report

Merging #1143 (aad3791) into master (321c841) will decrease coverage by 0.92%.
The diff coverage is 94.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1143      +/-   ##
==========================================
- Coverage   95.35%   94.42%   -0.93%     
==========================================
  Files         164      182      +18     
  Lines        3358     3553     +195     
  Branches      315      335      +20     
==========================================
+ Hits         3202     3355     +153     
- Misses        154      187      +33     
- Partials        2       11       +9     
Impacted Files Coverage Δ
src/migrations/services/migrations.service.ts 90.47% <90.47%> (ø)
src/app.module.ts 100.00% <100.00%> (ø)
src/migrations/migrations.module.ts 100.00% <100.00%> (ø)
src/migrations/stores/mongo-db.store.ts 100.00% <100.00%> (ø)
...igrations/1616081071738-new-configuration-model.js 56.00% <0.00%> (ø)
src/queue/errors/slot-occupied.error.ts 100.00% <0.00%> (ø)
src/queue/errors/player-not-in-the-queue.error.ts 100.00% <0.00%> (ø)
migrations/1616694341420-extended-player-roles.js 82.35% <0.00%> (ø)
...rations/1615906051508-move-keystore-to-database.js 40.00% <0.00%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0dfbdb0...aad3791. Read the comment docs.

@garrappachc garrappachc merged commit 576ac21 into tf2pickup-org:master Aug 5, 2021
@garrappachc garrappachc deleted the add-migrations-module branch August 5, 2021 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

1 participant