# Generated by Django 3.1.3 on 2020-11-25 11:16

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


class Migration(migrations.Migration):

    dependencies = [
        ('flota', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Samochod',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('marka', models.CharField(default='Fiat', max_length=60)),
                ('model', models.CharField(max_length=60)),
                ('pojemnosc', models.IntegerField()),
                ('rok_produkcji', models.DateField()),
                ('wlasciciel', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='flota.osoba')),
            ],
        ),
    ]
