32 lines
922 B
Python
32 lines
922 B
Python
|
# Generated by Django 5.0.7 on 2024-08-06 17:17
|
||
|
|
||
|
import django.db.models.deletion
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
dependencies = [
|
||
|
("reservations", "0001_initial"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name="ExternalReservation",
|
||
|
fields=[
|
||
|
(
|
||
|
"reservation_ptr",
|
||
|
models.OneToOneField(
|
||
|
auto_created=True,
|
||
|
on_delete=django.db.models.deletion.CASCADE,
|
||
|
parent_link=True,
|
||
|
primary_key=True,
|
||
|
serialize=False,
|
||
|
to="reservations.reservation",
|
||
|
),
|
||
|
),
|
||
|
("title", models.CharField(max_length=1024)),
|
||
|
],
|
||
|
bases=("reservations.reservation",),
|
||
|
),
|
||
|
]
|