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

20 lines
626 B
Python
Raw Normal View History

2019-05-12 16:23:59 +00:00
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',),
),
]