# Generated by Django 5.2.12 on 2026-05-23 13:49

from django.db import migrations


def convert_nulls_to_empty(apps, schema_editor):
    StatusRaw = apps.get_model('app_status', 'StatusRaw')
    StatusRaw.objects.filter(data__isnull=True).update(data='')


def reverse_convert(apps, schema_editor):
    pass


class Migration(migrations.Migration):

    dependencies = [
        ('app_status', '0001_squashed_0004_statussampleday'),
    ]

    operations = [
        migrations.RunPython(convert_nulls_to_empty, reverse_convert),
    ]
