# Generated by Django 4.0 on 2021-12-18 17:54

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='Vehicles',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sName', models.CharField(max_length=250)),
                ('bEnabled', models.BooleanField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='Vhc_problems',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sTitle', models.CharField(max_length=250)),
                ('sDesc', models.TextField()),
                ('bEnabled', models.BooleanField(default=1)),
                ('dtStart', models.DateTimeField()),
                ('dtEnd', models.DateTimeField()),
                ('sAuthor', models.CharField(max_length=120)),
                ('dtUpdated', models.DateTimeField(verbose_name='date updated')),
                ('dtCreated', models.DateTimeField(verbose_name='date published')),
                ('Author', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='auth.user')),
                ('Vehicle', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='vehicles.vehicles')),
            ],
        ),
    ]
