2016-12-12 16:23:06 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
from django.conf import settings
|
2019-10-05 22:32:54 +00:00
|
|
|
import django.db.models.deletion
|
2016-12-12 16:23:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0014_auto_20161210_0009")]
|
2016-12-12 16:23:06 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="sithfile",
|
|
|
|
name="moderator",
|
|
|
|
field=models.ForeignKey(
|
2019-10-05 22:32:54 +00:00
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
2018-10-04 19:29:19 +00:00
|
|
|
related_name="moderated_files",
|
|
|
|
verbose_name="owner",
|
|
|
|
default=0,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
2016-12-12 16:23:06 +00:00
|
|
|
preserve_default=False,
|
2018-10-04 19:29:19 +00:00
|
|
|
)
|
2016-12-12 16:23:06 +00:00
|
|
|
]
|