Commit bdfa4755 by Will Daly

Add a uniqueness constraint on AIWorkflow UUIDs

parent 1cbe38d0
...@@ -254,7 +254,7 @@ class AIWorkflow(models.Model): ...@@ -254,7 +254,7 @@ class AIWorkflow(models.Model):
abstract = True abstract = True
# Unique identifier used to track this workflow # Unique identifier used to track this workflow
uuid = UUIDField(version=1, db_index=True) uuid = UUIDField(version=1, db_index=True, unique=True)
# Course Entity and Item Discriminator # Course Entity and Item Discriminator
# Though these items are duplicated in the database tables for the submissions app, # Though these items are duplicated in the database tables for the submissions app,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment