def create_initial_category(apps, schema_editor):
    """ Create a default category for existing discounts """
    DiscountCategory = apps.get_model('discounts', 'DiscountCategory')
    db_alias = schema_editor.connection.alias
    DiscountCategory.objects.using(db_alias).create(id=1, name=
        'General Discounts', order=1, cannotCombine=False)
