# Generated by Django 4.2.29 on 2026-03-24 03:34

from django.db import migrations


def set_admins_as_owners(apps, schema_editor):
    User = apps.get_model('accounts', 'User')
    User.objects.filter(is_team_admin=True).update(is_team_owner=True)


class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0013_user_is_team_owner'),
    ]

    operations = [
        migrations.RunPython(set_admins_as_owners, migrations.RunPython.noop),
    ]
