2017-09-02 10:42:07 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2019-10-05 22:38:25 +00:00
|
|
|
import django.db.models.deletion
|
2024-06-24 11:07:36 +00:00
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
2017-09-02 10:42:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0022_auto_20170822_2232")]
|
2017-09-02 10:42:07 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
),
|
2017-09-02 10:42:07 +00:00
|
|
|
),
|
|
|
|
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
|
|
|
|
),
|
2017-09-02 10:42:07 +00:00
|
|
|
),
|
|
|
|
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
|
|
|
|
),
|
2017-09-02 10:42:07 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="preferences",
|
|
|
|
name="user",
|
|
|
|
field=models.OneToOneField(
|
2019-10-05 22:38:25 +00:00
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="_preferences",
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
2018-10-04 19:29:19 +00:00
|
|
|
),
|
2017-09-02 10:42:07 +00:00
|
|
|
),
|
|
|
|
]
|