# Generated by Django 5.1.4 on 2026-08-15 15:30

import encrypted_model_fields.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('pages', '0030_alter_service_meta_description_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='sitesettings',
            name='openai_admin_key',
            field=encrypted_model_fields.fields.EncryptedCharField(blank=True, help_text='Admin key (sk-admin-...) used only to read the costs endpoint'),
        ),
        migrations.AddField(
            model_name='sitesettings',
            name='openai_credit',
            field=models.DecimalField(decimal_places=2, default=0, help_text='Credit balance at the last top-up, in USD', max_digits=9),
        ),
        migrations.AddField(
            model_name='sitesettings',
            name='openai_credit_date',
            field=models.DateField(blank=True, help_text='Date of that top-up. Spend is counted from here.', null=True),
        ),
    ]
