diff --git a/lemarche/tenders/migrations/0058_tender_siae_count.py b/lemarche/tenders/migrations/0058_tender_siae_count.py new file mode 100644 index 000000000..936ce9605 --- /dev/null +++ b/lemarche/tenders/migrations/0058_tender_siae_count.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.2 on 2023-10-03 09:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("tenders", "0057_alter_tender_siae_transactioned"), + ] + + operations = [ + migrations.AddField( + model_name="tender", + name="siae_count", + field=models.IntegerField(default=0, verbose_name="Nombre de structures concernées"), + ), + ] diff --git a/lemarche/tenders/models.py b/lemarche/tenders/models.py index dc261e9ac..745559579 100644 --- a/lemarche/tenders/models.py +++ b/lemarche/tenders/models.py @@ -391,6 +391,7 @@ class Tender(models.Model): ) # stats + siae_count = models.IntegerField("Nombre de structures concernées", default=0) published_at = models.DateTimeField("Date de publication", blank=True, null=True) siae_list_last_seen_date = models.DateTimeField( "Date de dernière visite de l'auteur sur la page 'structures intéressées'", blank=True, null=True