Skip to content

Commit

Permalink
Added contastrain for labels (name should be unique)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanovic committed Feb 5, 2019
1 parent c6b8060 commit 711eb2f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cvat/apps/engine/migrations/0025_auto_20190205_2256.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 2.1.5 on 2019-02-05 19:56

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('engine', '0024_pluginoption'),
]

operations = [
migrations.AlterUniqueTogether(
name='label',
unique_together={('task', 'name')},
),
]

0 comments on commit 711eb2f

Please sign in to comment.