aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-22 20:48:05 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-22 20:48:05 +0100
commit6985c83f55f4b60f531c77d333aeb34b0105c956 (patch)
treef85d972c2a0a3e8e65a308d327e712fe4885d2e8 /pyblackbird_cc/resources/models.py
parentc7261ae893583707d1720492f67b5a3f5ffcdf72 (diff)
Resource now has a feature slot field
Diffstat (limited to 'pyblackbird_cc/resources/models.py')
-rw-r--r--pyblackbird_cc/resources/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py
index 2b73c89..27d74e7 100644
--- a/pyblackbird_cc/resources/models.py
+++ b/pyblackbird_cc/resources/models.py
@@ -73,6 +73,7 @@ class Resource(models.Model):
("Scottish", "Scottish"),
],
)
+ feature_slot = models.IntegerField(choices=((1, 1), (2, 2), (3, 3)), unique=True, null=True)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)