1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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')),
],
),
]
|