# 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):
    SMSJournal = apps.get_model('app_sirene', 'SMSJournal')
    SMSJournal.objects.filter(mobile__isnull=True).update(mobile='')


def reverse_convert(apps, schema_editor):
    pass


class Migration(migrations.Migration):

    dependencies = [
        ('app_sirene', '0003_alter_smsjournal_table'),
    ]

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