1. thehyve
  2. variant

Commits

tacosteemers  committed eeb6f64

Changed all ´number of people´ fields to 50 char charfields.

  • Participants
  • Parent commits cbdd74d
  • Branches default

Comments (0)

Files changed (1)

File eurreca/models.py

View file
     paper_title = models.CharField(max_length=500)
     journal_title = models.CharField(max_length=500, blank=True)
     study_type = models.CharField(max_length=500, blank=True)
-    number_of_participants = models.IntegerField(max_length=10, blank=True, null=True)
+    number_of_participants = models.CharField(max_length=50, blank=True, null=True)
     comments = models.CharField(max_length=500, blank=True, null=True)
     environmental_factor = models.CharField(max_length=500, blank=True, null=True)
     
     allele = models.CharField(max_length=500, blank=True)
     mutation = models.CharField(max_length=500, blank=True)
     zygosity = models.CharField(max_length=1, choices=TYPE_CHOICES, blank=True)
-    number_of_people_with_genotype = models.IntegerField(max_length=9, blank=True, null=True)
+    number_of_people_with_genotype = models.CharField(max_length=50, blank=True, null=True)
     genotype_frequency = models.CharField(max_length=500, null=True, blank=True)
     estimated_overal_frequency = models.CharField(max_length=10, null=True, blank=True)
     genotype_details = models.CharField(max_length=500, blank=True)
     )
     study = models.ForeignKey(Study)
     gender = models.CharField(max_length=1, choices=GENDER_CHOICES, blank=True, null=True)
-    number_of_participants = models.IntegerField(max_length=9, blank=True, null=True)
+    number_of_participants = models.CharField(max_length=50, blank=True, null=True)
     mean_age = models.CharField(max_length=10, null=True, blank=True)
     additional_age_description = models.CharField(max_length=500, blank=True)
     panel_description = models.CharField(max_length=500)