Geoffrey-Django/GeoffreyApp/migrations/0011_attraction.py

20 lines
626 B
Python

from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('GeoffreyApp', '0010_pointofinterest'),
]
operations = [
migrations.CreateModel(
name='Attraction',
fields=[
('location_ptr',
models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True,
primary_key=True, serialize=False, to='GeoffreyApp.Location')),
],
bases=('GeoffreyApp.location',),
),
]