-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefix archived fields with underscore
- Loading branch information
Showing
4 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
lemarche/siaes/migrations/0080_remove_historicalsiae_is_cocontracting_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Generated by Django 4.2.15 on 2025-01-03 10:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("siaes", "0079_alter_historicalsiae_contact_social_website_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="historicalsiae", | ||
name="is_cocontracting", | ||
), | ||
migrations.RemoveField( | ||
model_name="siae", | ||
name="is_cocontracting", | ||
), | ||
migrations.AddField( | ||
model_name="historicalsiae", | ||
name="_is_cocontracting", | ||
field=models.BooleanField(default=False, verbose_name="Fonctionnalité désactivée"), | ||
), | ||
migrations.AddField( | ||
model_name="siae", | ||
name="_is_cocontracting", | ||
field=models.BooleanField(default=False, verbose_name="Fonctionnalité désactivée"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
lemarche/tenders/migrations/0095_remove_tender_accept_cocontracting_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Generated by Django 4.2.15 on 2025-01-03 10:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tenders", "0094_add_templatetransactional_tender_author_commercial_partners"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="tender", | ||
name="accept_cocontracting", | ||
), | ||
migrations.RemoveField( | ||
model_name="tender", | ||
name="siae_detail_cocontracting_click_count", | ||
), | ||
migrations.RemoveField( | ||
model_name="tendersiae", | ||
name="detail_cocontracting_click_date", | ||
), | ||
migrations.AddField( | ||
model_name="tender", | ||
name="_accept_cocontracting", | ||
field=models.BooleanField(default=False, verbose_name="Archivé"), | ||
), | ||
migrations.AddField( | ||
model_name="tender", | ||
name="_siae_detail_cocontracting_click_count", | ||
field=models.IntegerField(default=0, verbose_name="Archivé"), | ||
), | ||
migrations.AddField( | ||
model_name="tendersiae", | ||
name="_detail_cocontracting_click_date", | ||
field=models.DateTimeField(blank=True, null=True, verbose_name="Archivé"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters