mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
fixed docker not launching
This commit is contained in:
@@ -2,7 +2,6 @@ from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("core", "0003_user_master_user"),
|
||||
]
|
||||
@@ -42,8 +41,11 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
preserve_default=True,
|
||||
),
|
||||
migrations.AlterIndexTogether(
|
||||
name="user",
|
||||
index_together=set([("email", "is_active")]),
|
||||
migrations.AddConstraint(
|
||||
model_name="user",
|
||||
constraint=models.UniqueConstraint(
|
||||
fields=("email", "is_active"),
|
||||
name="core_user_email_c0c03f_idx",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
+7
-5
@@ -2,6 +2,8 @@
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
# Due to a bug, this migration has been changed...
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
@@ -9,9 +11,9 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameIndex(
|
||||
model_name="user",
|
||||
new_name="core_user_email_c0c03f_idx",
|
||||
old_fields=("email", "is_active"),
|
||||
),
|
||||
# migrations.RenameIndex(
|
||||
# model_name="user",
|
||||
# new_name="core_user_email_c0c03f_idx",
|
||||
# old_fields=("email", "is_active"),
|
||||
# ),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user