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

Remove obsolete migrations #2306

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

kirugan
Copy link
Contributor

@kirugan kirugan commented Dec 5, 2024

No description provided.

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 78.46154% with 14 lines in your changes missing coverage. Please review.

Project coverage is 74.72%. Comparing base (4ff174d) to head (5f2809d).

Files with missing lines Patch % Lines
migration/migration.go 75.00% 6 Missing and 5 partials ⚠️
blockchain/blockchain.go 85.00% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2306      +/-   ##
==========================================
+ Coverage   74.38%   74.72%   +0.34%     
==========================================
  Files         109      109              
  Lines       11493    11187     -306     
==========================================
- Hits         8549     8360     -189     
+ Misses       2278     2196      -82     
+ Partials      666      631      -35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@pnowosie pnowosie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

kirugan and others added 5 commits December 12, 2024 22:17
Functions in the blockchain package with a db.Transaction argument are
intended to be private function since blockchain package is one of the
few packages allowed to modify the DB.
Functions in the blockchain package with a db.Transaction argument are
intended to be private function since blockchain package is one of the
few packages allowed to modify the DB.
Functions in the blockchain package with a db.Transaction argument are
intended to be private function since blockchain package is one of the
few packages allowed to modify the DB.
@IronGauntlets IronGauntlets force-pushed the kirugan/remove-obsolete-migrations branch from cefd469 to 5f2809d Compare December 12, 2024 22:19
Copy link
Contributor

@IronGauntlets IronGauntlets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have rebased the branch on top of main and made some functions in blockchain private.

Also, I don't think startSchemaVersion needs to be updated since it should have been 16 before (please confirm I am correct).

Also, please don't squash and merge, instead rebase and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants