Closed tiegz closed 8 months ago
we need a "have dependencies been fetched yet?" flag on the Version model. To that end:
Version#dependencies_count
nil
#runtime_dependencies_count
Version#set_dependencies_count
one_off:backfill_version_dependencies_count
we need a "have dependencies been fetched yet?" flag on the Version model. To that end:
Version#dependencies_count
, which will benil
if we haven't fetched its deps yet#runtime_dependencies_count
column)Version#set_dependencies_count
methodVersion#set_dependencies_count
after we've fetched a Version's dependencies (whether or not there are zero)one_off:backfill_version_dependencies_count
task to backfill this column in batches