fix for no organization owner
[redakcja.git] / apps / catalogue / migrations / 0002_document_assigned_to.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 from django.conf import settings
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12         ('catalogue', '0001_initial'),
13     ]
14
15     operations = [
16         migrations.AddField(
17             model_name='document',
18             name='assigned_to',
19             field=models.ForeignKey(related_name='assignments', to=settings.AUTH_USER_MODEL, null=True),
20         ),
21     ]