♻️(backend) align Application model field with is_active convention

Most models in the project use `is_active` rather than `active`.
The Application model was not aligned with this convention.

Rename the field and add a migration to standardize the naming.
Update related tests accordingly.

This change should not introduce breaking changes for external
applications.
This commit is contained in:
lebaudantoine
2026-03-11 16:01:43 +01:00
parent f57db0acc8
commit ca4494c09e
9 changed files with 35 additions and 16 deletions
+1 -1
View File
@@ -759,7 +759,7 @@ class Application(BaseModel):
verbose_name=_("Application name"),
help_text=_("Descriptive name for this application."),
)
active = models.BooleanField(default=True)
is_active = models.BooleanField(default=True)
client_id = models.CharField(
max_length=100, unique=True, default=utils.generate_client_id
)