migrations cleaning and remove DiscoveryWarning