Added image healpix map into the json response of UpperLimitView; altered the Survey field into a PositiveSmallIntegerField

This commit is contained in:
2025-05-19 13:48:27 +03:00
parent 6154679dd2
commit cf3213a0f9
3 changed files with 58 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ class Pixel(models.Model):
# WILL ONLY HOLD 10 SURVEYS AS AN AUTOFIELD (IntegerField, ~2 billion limit)
# BIGAUTOFIELD WILL BE REQUIRED FOR MORE!
survey = models.SmallIntegerField()
survey = models.PositiveSmallIntegerField()
hpid = models.IntegerField(db_index=True) # up to over 200 million