summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/booking/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/booking/models.py')
-rw-r--r--tools/pharos-dashboard/booking/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/booking/models.py b/tools/pharos-dashboard/booking/models.py
index e772fb5b..fed35e3f 100644
--- a/tools/pharos-dashboard/booking/models.py
+++ b/tools/pharos-dashboard/booking/models.py
@@ -6,6 +6,7 @@ from jira import JIRAError
from dashboard.models import Resource
from django.conf import settings
+
class Booking(models.Model):
id = models.AutoField(primary_key=True)
user = models.ForeignKey(User, models.CASCADE) # delete if user is deleted