♻️(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
@@ -0,0 +1,18 @@
# Generated by Django 5.2.12 on 2026-03-11 14:39
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0017_file'),
]
operations = [
migrations.RenameField(
model_name='application',
old_name='active',
new_name='is_active',
),
]