Commit 1ec46f40 authored by Alia Lawraine Olay's avatar Alia Lawraine Olay

Made migrations

parent 762bd4f3
# Generated by Django 4.0.4 on 2022-11-29 10:37
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('booking', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='crew_member',
old_name='Fname',
new_name='First_Name',
),
migrations.RenameField(
model_name='crew_member',
old_name='Lname',
new_name='Last_Name',
),
migrations.RenameField(
model_name='passenger',
old_name='Fname',
new_name='First_Name',
),
migrations.RenameField(
model_name='passenger',
old_name='Lname',
new_name='Last_Name',
),
migrations.RenameField(
model_name='passenger',
old_name='MI',
new_name='Middle_Initial',
),
migrations.AlterField(
model_name='additional_item',
name='Item_Cost',
field=models.IntegerField(default=0),
),
migrations.AlterField(
model_name='booking_additem',
name='AddItem_Desc',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.additional_item'),
),
migrations.AlterField(
model_name='booking_additem',
name='Booking_ID',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.booking'),
),
migrations.AlterField(
model_name='booking_sched',
name='Booking_ID',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.booking'),
),
migrations.AlterField(
model_name='booking_sched',
name='Sched_Code',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.schedule'),
),
migrations.AlterField(
model_name='flight_attendant',
name='Employee_ID',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='booking.crew_member'),
),
migrations.AlterField(
model_name='pilot',
name='Employee_ID',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='booking.crew_member'),
),
migrations.AlterField(
model_name='sched_crew',
name='Employee_ID',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.crew_member'),
),
migrations.AlterField(
model_name='sched_crew',
name='Sched_Code',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.schedule'),
),
]
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment