0015_sithfile_moderator.py 551 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0014_auto_20161210_0009'),
    ]

    operations = [
        migrations.AddField(
            model_name='sithfile',
            name='moderator',
            field=models.ForeignKey(related_name='moderated_files', verbose_name='owner', default=0, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
    ]