def forwards_add_perms(apps, schema_editor):
    """
        Adds permissions for this app to the group 'Tester'.
        This is useful in case that is an existing installation
        upgrading post 7.0.
    """
    Group = apps.get_model('auth', 'Group')
    Permission = apps.get_model('auth', 'Permission')
    tester = Group.objects.get(name='Tester')
    app_perms = Permission.objects.filter(content_type__app_label__contains
        ='bugs')
    tester.permissions.add(*app_perms)
