Fix edge cases while iterating over model and registry table
There are some edge cases to take into acocunt: 1. When there are unused registries, but there no replicable records next_range! returns nil; 2. When the unused registry foreign key ids are greater than the last replicable record id; 3. When the unused registry foreign key ids are lower than the first replicable record id;
Showing
Please register or sign in to comment