Geoffrey-Django/GeoffreyApp/migrations/0007_town.py

24 lines
753 B
Python

# Generated by Django 2.1.2 on 2019-02-02 20:57
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('GeoffreyApp', '0006_auto_20190131_1822'),
]
operations = [
migrations.CreateModel(
name='Town',
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')),
('residents', models.ManyToManyField(to='GeoffreyApp.Player')),
],
bases=('GeoffreyApp.location',),
),
]