From 6ba8166f866654669242f16ce3c241c9ac78f598 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 19 Sep 2023 08:22:11 +0200 Subject: [PATCH] Reset DataLayer.edit_status migration --- umap/migrations/0013_datalayer_edit_status.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/umap/migrations/0013_datalayer_edit_status.py b/umap/migrations/0013_datalayer_edit_status.py index 16f3691f..c62523df 100644 --- a/umap/migrations/0013_datalayer_edit_status.py +++ b/umap/migrations/0013_datalayer_edit_status.py @@ -1,7 +1,6 @@ -# Generated by Django 4.2.2 on 2023-09-07 06:27 +# Generated by Django 4.2.2 on 2023-09-19 06:20 from django.db import migrations, models -import umap.models class Migration(migrations.Migration): @@ -14,8 +13,13 @@ class Migration(migrations.Migration): model_name="datalayer", name="edit_status", field=models.SmallIntegerField( - choices=[(1, "Everyone"), (2, "Editors only"), (3, "Owner only")], - default=umap.models.get_default_edit_status, + choices=[ + (0, "Inherit"), + (1, "Everyone"), + (2, "Editors only"), + (3, "Owner only"), + ], + default=0, verbose_name="edit status", ), ),