mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: add missing migration for new share_status values
This commit is contained in:
parent
73e7f60cdf
commit
82b81706ab
1 changed files with 30 additions and 0 deletions
30
umap/migrations/0024_alter_map_share_status.py
Normal file
30
umap/migrations/0024_alter_map_share_status.py
Normal 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",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in a new issue