27 lines
993 B
Python
27 lines
993 B
Python
# Generated by Django 6.0.7 on 2026-07-22 13:42
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('common', '0001_initial'),
|
|
('contracts', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='userconfig',
|
|
name='company',
|
|
field=models.ForeignKey(blank=True, help_text='Société/organisme auquel appartient cet utilisateur (utile pour filtrer les membres visibles).', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='user_configs', to='contracts.company', verbose_name='Société'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='userconfig',
|
|
name='default_thematic',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='default_user_accesses', to='common.thematic'),
|
|
),
|
|
]
|