aboutsummaryrefslogtreecommitdiffstats
path: root/client/migrations/0020_alter_document_user_alter_document_usercode.py
blob: 8df069dd1e30158e7619f114b80f67426c36fe27 (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 4.1.5 on 2023-07-25 10:46

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('client', '0019_alter_document_usercode'),
    ]

    operations = [
        migrations.AlterField(
            model_name='document',
            name='user',
            field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='document',
            name='usercode',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='client.usercode'),
        ),
    ]