umap/umap/migrations/0024_alter_map_share_status.py
Yohan Boniface 82b81706ab
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
chore: add missing migration for new share_status values
2024-12-10 17:54:58 +01:00

30 lines
825 B
Python

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