# Generated by Django 5.1.2 on 2025-07-05 12:40

import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('vehicles', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='User_Vehicles',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('vehicle_model_name', models.CharField(blank=True, default='', max_length=255, null=True)),
                ('vehicle_type_name', models.CharField(blank=True, default='', max_length=255, null=True)),
                ('transmission_type_name', models.CharField(blank=True, default='', max_length=255, null=True)),
                ('is_default', models.IntegerField(choices=[(0, 'No'), (1, 'Yes')], default=0)),
                ('transmission_type', models.ForeignKey(blank=True, default='', null=True, on_delete=django.db.models.deletion.SET_NULL, to='vehicles.transmissiontypes')),
                ('user', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('vehicle_model', models.ForeignKey(blank=True, default='', null=True, on_delete=django.db.models.deletion.SET_NULL, to='vehicles.vehiclemodels')),
                ('vehicle_type', models.ForeignKey(blank=True, default='', null=True, on_delete=django.db.models.deletion.SET_NULL, to='vehicles.vehicletypes')),
            ],
        ),
    ]
