# Generated by Django 2.2.9 on 2020-01-24 16:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('organisations', '0008_auto_20200123_1657'), ] operations = [ migrations.CreateModel( name='Role', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=100)), ], ), migrations.AlterField( model_name='address', name='county', field=models.CharField(blank=True, max_length=100), ), migrations.AlterField( model_name='address', name='line2', field=models.CharField(blank=True, max_length=255), ), migrations.AlterField( model_name='address', name='line3', field=models.CharField(blank=True, max_length=255), ), migrations.AlterField( model_name='address', name='other_details', field=models.CharField(blank=True, max_length=255), ), migrations.CreateModel( name='Person', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('email', models.EmailField(max_length=254)), ('mobile', models.CharField(max_length=20)), ('landline', models.CharField(max_length=20)), ('organisation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='organisations.Organisation')), ('role', models.ManyToManyField(to='organisations.Role')), ], ), ]