# Generated by Django 3.2.20 on 2023-09-29 14:02

from django.db import migrations


def update_edoniq_ids(apps, schema_editor):
    LearningContentEdoniqTest = apps.get_model("learnpath", "LearningContentEdoniqTest")
    LearningContentEdoniqTest.objects.filter(
        test_url__icontains="1689096523730"
    ).update(
        edoniq_sequence_id="1688059890497",
        edoniq_course_release_id="1689096523730",
        edoniq_extended_sequence_id="1691151920116",
        edoniq_extended_course_release_id="1691157696911",
    )


class Migration(migrations.Migration):
    dependencies = [
        ("learnpath", "0007_auto_20230929_1455"),
    ]

    operations = [
        migrations.RunPython(update_edoniq_ids),
    ]
