def METHOD_NAME(apps, schema_editor):
    NotificationProfile = apps.get_model("argus_notificationprofile", "NotificationProfile")
    profiles = NotificationProfile.objects.all()
    for profile in profiles:
        profile.timeslot_id = profile.id
    NotificationProfile.objects.bulk_update(objs=profiles, fields=["timeslot"])