From bfa00b12dee2eb97442dc404c4c1e7b78cce7760 Mon Sep 17 00:00:00 2001 From: Nikita Manovich Date: Wed, 30 Nov 2022 11:40:24 +0200 Subject: [PATCH] Added missing migration for shape type == Mask (#5376) PR https://github.com/opencv/cvat/pull/4543 didn't add a new migration. The migration wasn't critical. At least it was not led to any problems. --- .../migrations/0061_auto_20221130_0844.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cvat/apps/engine/migrations/0061_auto_20221130_0844.py diff --git a/cvat/apps/engine/migrations/0061_auto_20221130_0844.py b/cvat/apps/engine/migrations/0061_auto_20221130_0844.py new file mode 100644 index 000000000000..0a80603062f2 --- /dev/null +++ b/cvat/apps/engine/migrations/0061_auto_20221130_0844.py @@ -0,0 +1,23 @@ +# Generated by Django 3.2.16 on 2022-11-30 08:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('engine', '0060_alter_label_parent'), + ] + + operations = [ + migrations.AlterField( + model_name='labeledshape', + name='type', + field=models.CharField(choices=[('rectangle', 'RECTANGLE'), ('polygon', 'POLYGON'), ('polyline', 'POLYLINE'), ('points', 'POINTS'), ('ellipse', 'ELLIPSE'), ('cuboid', 'CUBOID'), ('mask', 'MASK'), ('skeleton', 'SKELETON')], max_length=16), + ), + migrations.AlterField( + model_name='trackedshape', + name='type', + field=models.CharField(choices=[('rectangle', 'RECTANGLE'), ('polygon', 'POLYGON'), ('polyline', 'POLYLINE'), ('points', 'POINTS'), ('ellipse', 'ELLIPSE'), ('cuboid', 'CUBOID'), ('mask', 'MASK'), ('skeleton', 'SKELETON')], max_length=16), + ), + ]