Add migration for Certification Version ordering

This commit is contained in:
Adam Goldsmith 2023-03-31 23:53:47 -04:00
parent d247fc1616
commit 1eb3952ea1

View File

@ -0,0 +1,33 @@
# Generated by Django 4.1.7 on 2023-04-01 03:53
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("paperwork", "0010_switch_certificationversion_to_semver"),
]
operations = [
migrations.AlterModelOptions(
name="certificationversion",
options={
"base_manager_name": "objects",
"get_latest_by": (
"major",
"minor",
"patch",
"prerelease",
"approval_date",
),
"ordering": (
"definition",
"major",
"minor",
"patch",
"prerelease",
"approval_date",
),
},
),
]