mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-20 16:09:54 +00:00
fix: add missing migrations
This commit is contained in:
1 parent
4c1a94e83d
commit
bc06a9d91f
2 files changed
+30
-1
No files matched your search
@@ -0,0 +1,29 @@
|
|||||||
|
# Generated by Django 5.2.18 on 2026-11-15 11:46
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
import antispam.models.fields
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [("core", "0052_preferences_show_my_timetable")]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="user",
|
||||||
|
name="email",
|
||||||
|
field=antispam.models.fields.AntiSpamEmailField(
|
||||||
|
max_length=254, unique=True, verbose_name="email address"
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="user",
|
||||||
|
name="second_email",
|
||||||
|
field=antispam.models.fields.AntiSpamEmailField(
|
||||||
|
blank=True,
|
||||||
|
max_length=254,
|
||||||
|
null=True,
|
||||||
|
verbose_name="second email address",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -104,7 +104,7 @@ class Migration(migrations.Migration):
|
|||||||
"week_group",
|
"week_group",
|
||||||
models.CharField(
|
models.CharField(
|
||||||
blank=True,
|
blank=True,
|
||||||
choices=[("A", "A"), ("B", "B")],
|
choices=[("A", "A"), ("B", "B"), ("", "Both")],
|
||||||
default="",
|
default="",
|
||||||
max_length=1,
|
max_length=1,
|
||||||
verbose_name="week group",
|
verbose_name="week group",
|
||||||
|
|||||||
Reference in new issue
Block a user