From 61f5ec05d32c879f26b3d97b01272954e3b4e712 Mon Sep 17 00:00:00 2001 From: Marie Backman Date: Fri, 21 Jun 2024 10:31:50 -0400 Subject: [PATCH] Update Django model dasmon_statusvariable id field to bigint --- src/webmon_app/reporting/dasmon/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webmon_app/reporting/dasmon/models.py b/src/webmon_app/reporting/dasmon/models.py index b7302336..968e9cec 100644 --- a/src/webmon_app/reporting/dasmon/models.py +++ b/src/webmon_app/reporting/dasmon/models.py @@ -25,6 +25,7 @@ class StatusVariable(models.Model): Table containing key-value pairs from the DASMON """ + id = models.BigAutoField(primary_key=True) instrument_id = models.ForeignKey(Instrument, on_delete=models.CASCADE) key_id = models.ForeignKey(Parameter, on_delete=models.CASCADE) value = models.CharField(max_length=128)