# Generated by Django 2.1.5 on 2019-02-07 12:19

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Flight',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('departure_date', models.DateTimeField()),
                ('return_date', models.DateTimeField()),
                ('origin', models.CharField(max_length=100)),
                ('destination', models.CharField(max_length=100)),
                ('airline_code', models.CharField(max_length=100)),
                ('status', models.CharField(choices=[('scheduled', 'Scheduled'), ('delayed', 'Delayed'), ('departed', 'Departed'), ('in_air', 'In Air'), ('expected', 'Expected'), ('diverted', 'Diverted'), ('recovery', 'Recovery'), ('landed', 'Landed'), ('arrived', 'Arrived'), ('cancelled', 'Cancelled'), ('no_take_off_info_contact_airline', 'No Take off Info Contact Airline'), ('past_flight', 'Past flight')], max_length=100)),
                ('fare', models.FloatField(default=0.0)),
                ('one_way', models.BooleanField(default=True)),
                ('stops', models.IntegerField(default=0)),
            ],
            options={
                'db_table': 'flights',
            },
        ),
    ]