Changeset loop can take quite a long time (still in progress =) for 166 projects with total ~200-300K records in changesets.
More important that in our case it doesn't make any sense because all changesets have notified_cia = 0. Is it possible to refine Projec.find(:all) query for such situations? Any idea?
Of course, the progress information (console output) while migration is going on will be very helpful =)
p.s. Yeah, as temporary solution I'm going to comment this part of migration...
2011081700000_move_notified_cia_to_git_cia_notifications.rb#L16
Changeset loop can take quite a long time (still in progress =) for 166 projects with total ~200-300K records in changesets.
More important that in our case it doesn't make any sense because all changesets have
notified_cia = 0
. Is it possible to refineProjec.find(:all)
query for such situations? Any idea?Of course, the progress information (console output) while migration is going on will be very helpful =)
p.s. Yeah, as temporary solution I'm going to comment this part of migration...