From 05463489f459761e93b8921b5627626ee3adf420 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 25 Jul 2023 13:47:43 +0200 Subject: create docs from uc --- ..._alter_document_user_alter_document_usercode.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 client/migrations/0020_alter_document_user_alter_document_usercode.py (limited to 'client/migrations') diff --git a/client/migrations/0020_alter_document_user_alter_document_usercode.py b/client/migrations/0020_alter_document_user_alter_document_usercode.py new file mode 100644 index 0000000..8df069d --- /dev/null +++ b/client/migrations/0020_alter_document_user_alter_document_usercode.py @@ -0,0 +1,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'), + ), + ] -- cgit v1.2.1