35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
# Generated by Django 1.11.18 on 2020-09-28 12:45
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('agendas', '0062_auto_20200915_1401'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='agenda',
|
|
name='anonymize_delay',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
default=None,
|
|
help_text='User data will be kept for the specified number of days passed the booking date.',
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(30),
|
|
django.core.validators.MaxValueValidator(1000),
|
|
],
|
|
verbose_name='Anonymize delay (in days)',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='booking',
|
|
name='anonymization_datetime',
|
|
field=models.DateTimeField(null=True),
|
|
),
|
|
]
|