# Generated by Django 5.0.7 on 2026-08-05 05:06

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('testing_app', '0011_booking_cancel_reason_code_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='city',
            name='province',
            field=models.CharField(choices=[('KOSHI', 'Koshi Province'), ('MADHESH', 'Madhesh Province'), ('BAGMATI', 'Bagmati Province'), ('GANDAKI', 'Gandaki Province'), ('LUMBINI', 'Lumbini Province'), ('KARNALI', 'Karnali Province'), ('SUDURPASHCHIM', 'Sudurpashchim Province'), ('OTHER', 'Other')], default='OTHER', max_length=20),
        ),
        migrations.CreateModel(
            name='ActivityLog',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('role', models.CharField(choices=[('PASSENGER', 'Passenger'), ('OPERATOR', 'Operator')], max_length=20)),
                ('action', models.CharField(max_length=50)),
                ('detail', models.CharField(max_length=500)),
                ('amount', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='activity_logs', to='testing_app.user')),
            ],
            options={
                'db_table': 'activity_logs',
                'ordering': ['-created_at'],
            },
        ),
    ]
