From 82b81706ab0192d91a68e7940cc645a344ffdd9c Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 10 Dec 2024 17:54:58 +0100 Subject: [PATCH] chore: add missing migration for new share_status values --- .../migrations/0024_alter_map_share_status.py | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 umap/migrations/0024_alter_map_share_status.py diff --git a/umap/migrations/0024_alter_map_share_status.py b/umap/migrations/0024_alter_map_share_status.py new file mode 100644 index 00000000..41682f4f --- /dev/null +++ b/umap/migrations/0024_alter_map_share_status.py @@ -0,0 +1,30 @@ +# Generated by Django 5.1.2 on 2024-12-10 16:48 + +from django.db import migrations, models + +import umap.models + + +class Migration(migrations.Migration): + dependencies = [ + ("umap", "0023_alter_datalayer_uuid"), + ] + + operations = [ + migrations.AlterField( + model_name="map", + name="share_status", + field=models.SmallIntegerField( + choices=[ + (0, "Draft (private)"), + (1, "Everyone (public)"), + (2, "Anyone with link"), + (3, "Editors and team only"), + (9, "Blocked"), + (99, "Deleted"), + ], + default=umap.models.get_default_share_status, + verbose_name="share status", + ), + ), + ]