Skip to content

Commit

Permalink
Merge pull request #165 from neutrons/backmari-patch-1
Browse files Browse the repository at this point in the history
Update Django model dasmon_statusvariable id field to bigint
  • Loading branch information
backmari authored Jun 21, 2024
2 parents 9ee319e + 61f5ec0 commit 70d4c67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webmon_app/reporting/dasmon/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70d4c67

Please sign in to comment.