chore: add missing migration for new share_status values
Some checks are pending
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
Test & Docs / docs (push) Waiting to run

This commit is contained in:
Yohan Boniface 2024-12-10 17:54:58 +01:00
parent 73e7f60cdf
commit 82b81706ab

View file

@ -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",
),
),
]