mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
27 lines
814 B
Python
27 lines
814 B
Python
# Generated by Django 2.2.10 on 2020-02-25 08:49
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('people', '0010_add_country_fields'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Organisation',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=255)),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='person',
|
|
name='organisation',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='members', to='people.Organisation'),
|
|
),
|
|
]
|