def remove_all(apps, schema_editor):
    """
    We can't import the Post model directly as it may be a newer
    version than this migration expects. We use the historical version.
    """
    CoSale = apps.get_model('cosales', 'CoSale')
    CoSale.objects.all().delete()
    CoSaleHistory = apps.get_model('cosales', 'CoSaleHistory')
    CoSaleHistory.objects.all().delete()
