Closed tiegz closed 2 months ago
How long is the backfill expected to take / will it impact deploys going out if it takes a long time or fails for some reason? If it will, could be worth making it a rake task and manually running it on a console.
I'd mentioned in the PR description that I've already run the migration on production, and I've double-checked the data for each row too to make sure the migration was correct.
(followup to https://github.com/librariesio/libraries.io/pull/3356)
Projects#latest_version_id
(this has already been run on production)Project#latest_version
method with a new:latest_version
belongs_to associationset_latest_version
method that updates that column after aProject
is saved