To be able to provide a SIRET in the ProConnect IdP process we need to be able to link a mail domain to its organization. For now this is not mandatory, as we can't detect the organization and need a frontend process to clarify it.
21 lines
620 B
Python
21 lines
620 B
Python
# Generated by Django 5.1.5 on 2025-02-10 11:10
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0010_team_depth_team_numchild_team_path_and_more'),
|
|
('mailbox_manager', '0021_maildomain_expected_config'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='maildomain',
|
|
name='organization',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='mail_domains', to='core.organization'),
|
|
),
|
|
]
|