Skip to content

Commit

Permalink
add primary_key to IcaSubstanceDeclaree back
Browse files Browse the repository at this point in the history
  • Loading branch information
Perrine Letellier committed Jan 31, 2025
1 parent b702f74 commit 0fe6696
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Meta:


class IcaSubstanceDeclaree(models.Model):
vrsdecl_ident = models.IntegerField()
vrsdecl_ident = models.IntegerField(primary_key=True) # idem IcaPopulationCibleDeclaree
sbsact_ident = models.IntegerField()
sbsact_commentaires = models.TextField(blank=True, null=True)
sbsactdecl_quantite_par_djr = models.FloatField(blank=True, null=True)
Expand Down

0 comments on commit 0fe6696

Please sign in to comment.