def METHOD_NAME(apps, schema_editor):
    Organization = apps.get_model("core", "Organization")
    for org in Organization.objects.all():
        org.created_by = org.organization_owner
        org.created_at = org.date_joined
        org.save(update_fields=["created_by", "created_at"])