Obey length limits for wikidata import.
[redakcja.git] / src / team / migrations / 0003_alter_profile_options_and_more.py
1 # Generated by Django 4.1.9 on 2024-10-09 10:25
2
3 from django.conf import settings
4 from django.db import migrations, models
5 import django.db.models.deletion
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12         ("team", "0002_profile_approve_by_default"),
13     ]
14
15     operations = [
16         migrations.AlterModelOptions(
17             name="profile",
18             options={"verbose_name": "profil", "verbose_name_plural": "profil"},
19         ),
20         migrations.RenameField(
21             model_name="presence",
22             old_name="timestamp",
23             new_name="since",
24         ),
25         migrations.AddField(
26             model_name="presence",
27             name="session_key",
28             field=models.CharField(default="", max_length=255),
29             preserve_default=False,
30         ),
31         migrations.AddField(
32             model_name="presence",
33             name="until",
34             field=models.DateTimeField(db_index=True, default="1970-01-01"),
35             preserve_default=False,
36         ),
37         migrations.AlterField(
38             model_name="presence",
39             name="user",
40             field=models.ForeignKey(
41                 blank=True,
42                 null=True,
43                 on_delete=django.db.models.deletion.CASCADE,
44                 to=settings.AUTH_USER_MODEL,
45             ),
46         ),
47     ]