WIP quick DB migration code prunning