fix staging config, tidy up old migration