from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('tenants', '0012_tenant_fleet_telemetry'),
    ]

    operations = [
        migrations.AddField(
            model_name='tenant',
            name='chat_daily_token_budget',
            field=models.PositiveIntegerField(
                default=150000,
                help_text=(
                    'Maximum OpenAI tokens the chat may spend per day. '
                    'When reached, visitors are pointed at the contact form '
                    'until midnight. Set to 0 for no limit.'
                ),
            ),
        ),
    ]
