Sith/core/migrations/0023_auto_20170902_1226.py

45 lines
1.3 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
import django.db.models.deletion
class Migration(migrations.Migration):
2018-10-04 19:29:19 +00:00
dependencies = [("core", "0022_auto_20170822_2232")]
operations = [
migrations.AddField(
2018-10-04 19:29:19 +00:00
model_name="preferences",
name="notify_on_click",
field=models.BooleanField(
verbose_name="get a notification for every click", default=False
),
),
migrations.AddField(
2018-10-04 19:29:19 +00:00
model_name="preferences",
name="notify_on_refill",
field=models.BooleanField(
verbose_name="get a notification for every refilling", default=False
),
),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="preferences",
name="show_my_stats",
field=models.BooleanField(
verbose_name="show your stats to others", default=False
),
),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="preferences",
name="user",
field=models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
related_name="_preferences",
to=settings.AUTH_USER_MODEL,
2018-10-04 19:29:19 +00:00
),
),
]