diff --git a/api/mysagw/snippets/migrations/0003_alter_snippet_options.py b/api/mysagw/snippets/migrations/0003_alter_snippet_options.py new file mode 100644 index 000000000..faee29c3a --- /dev/null +++ b/api/mysagw/snippets/migrations/0003_alter_snippet_options.py @@ -0,0 +1,16 @@ +# Generated by Django 3.2.23 on 2023-11-06 08:39 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("snippets", "0002_simple_history_update"), + ] + + operations = [ + migrations.AlterModelOptions( + name="snippet", + options={"ordering": ("title",)}, + ), + ] diff --git a/api/mysagw/snippets/models.py b/api/mysagw/snippets/models.py index 1cc96126f..787118435 100644 --- a/api/mysagw/snippets/models.py +++ b/api/mysagw/snippets/models.py @@ -8,3 +8,6 @@ class Snippet(UUIDModel, HistoricalModel): title = models.CharField(max_length=255) body = LocalizedTextField(blank=False, null=False, required=False) archived = models.BooleanField(default=False) + + class Meta: + ordering = ("title",) diff --git a/next_deployment.md b/next_deployment.md index 7d4b9f413..6e8232d1f 100644 --- a/next_deployment.md +++ b/next_deployment.md @@ -1,10 +1 @@ # Manual steps for next deployment - -## MinIO - -The intermediate containers for the storage backend migration can be removed: - - - `minio-legacy` - - `minio-migrate` - -The volume `minio-data` can be removed.