changing the way the pruning migration works to try to make it postgres friendly