-
Notifications
You must be signed in to change notification settings - Fork 47
feat: implement market deal proposal label migration #1001
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: implement market deal proposal label migration #1001
Conversation
frrist
commented
Jun 22, 2022
- fixes Actor version 8 DealProposal type change #987
Codecov Report
@@ Coverage Diff @@
## frrist/update-lotusv1.16.0-rc #1001 +/- ##
===============================================================
- Coverage 34.8% 33.8% -1.0%
===============================================================
Files 31 32 +1
Lines 2125 2186 +61
===============================================================
Hits 741 741
- Misses 1298 1359 +61
Partials 86 86 |
Why not migrating the current table to have one extra column (IsString), and start using that column from now on? When reprocessing the chain then we will get the field correctly populated (we don't have to do it now). Having two tables is a pain. We always say that we are going to add views and what not, but we don't, it complicates the exporting etc. Given that we have to do a full chain reprocessing soon (where we can go to having 1 table only again), it would be nice to not have 2 tables in the meantime. |
Agreed, having two tables is complicated. Previously when adding a migration similar to this we did so to prevent breaking the archive process. But since we are planning to do a full chain reprocess soon I'd be open to making this an addition to the existing table schema. cc @kasteph |
41f384a
to
d5162b5
Compare
Iirc, single table should be fine. Add one extra column but don't populate it for the things in the past, and start using the new format on the existing label column too (no need to base64 all existing labels in all existing rows). |
6d8db02
to
1da0a11
Compare
closing in favor of #1015 |