27 lines
675 B
Python
27 lines
675 B
Python
|
# Generated by Django 2.2.5 on 2019-09-16 00:01
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
("flight", "0003_flight_leg"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name="flight",
|
||
|
name="user",
|
||
|
field=models.ForeignKey(
|
||
|
default=1,
|
||
|
on_delete=django.db.models.deletion.PROTECT,
|
||
|
to=settings.AUTH_USER_MODEL,
|
||
|
),
|
||
|
preserve_default=False,
|
||
|
)
|
||
|
]
|