aboutsummaryrefslogtreecommitdiffstats
path: root/client/migrations/0016_auto_20200620_1733.py
blob: 11fb49ff3ba578d9f118c0fc97ca97030fbc975d (plain)
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
# Generated by Django 3.0.7 on 2020-06-20 15:33

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('client', '0015_personaldata_email'),
    ]

    operations = [
        migrations.CreateModel(
            name='MedicalData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('medic_name', models.CharField(default='', max_length=250)),
            ],
        ),
        migrations.AddField(
            model_name='document',
            name='medical_data',
            field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.PROTECT, to='client.MedicalData'),
        ),
    ]