From ea9832a3656cbcd022ddda380aef5c49b40eb22c Mon Sep 17 00:00:00 2001 From: tyrin Date: Mon, 16 Sep 2024 15:46:01 +0300 Subject: [PATCH] Remove gaia designation from the model to save on disk space --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index b011ee5..1ba3f66 100644 --- a/models.py +++ b/models.py @@ -31,7 +31,7 @@ class GaiaSource(models.Model): #solution identifier #why charfield and not integerfield? - designation = models.CharField(max_length=30, blank=True, default='') + #designation = models.CharField(max_length=30, blank=True, default='') #unique source designation across all DR #source_id = models.CharField(max_length=19, blank=True, default='') @@ -68,7 +68,7 @@ class GaiaSource(models.Model): #phot_bp_mean_mag = models.FloatField(default=0.0, null=True) #mean bp magnitude, vega scale - #phot_rp_mean_mag = models.FloatField(default=0.0, null=True) + phot_rp_mean_mag = models.FloatField(default=0.0, null=True) #mean rp magnitude, vega scale healpix_ring_index = models.BigIntegerField(null=True, blank=True)