simple but useful scripts for unusual database migrations