123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- # Generated by Django 3.2.23 on 2024-08-06 13:02
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- ('gest_clin', '0002_auto_20231229_0916'),
- ('gest_user', '0021_ges_user_ges_date'),
- ]
- operations = [
- migrations.RemoveField(
- model_name='ges_app',
- name='GESAP_Commentaire',
- ),
- migrations.RemoveField(
- model_name='ges_user',
- name='GES_Commentaire',
- ),
- migrations.RemoveField(
- model_name='ges_user',
- name='GES_L_Site',
- ),
- migrations.AddField(
- model_name='ges_app',
- name='GESAP_Actif',
- field=models.BooleanField(default=True, verbose_name='Active ?'),
- ),
- migrations.AddField(
- model_name='ges_app',
- name='GESAP_Procedure',
- field=models.CharField(blank=True, max_length=248, verbose_name='Lien vers la Procédure de création de compte'),
- ),
- migrations.AddField(
- model_name='ges_user',
- name='GES_Site',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='gest_clin.clinique', verbose_name='Clinique'),
- ),
- migrations.AlterField(
- model_name='ges_applink',
- name='GES_APPLink_APP',
- field=models.ForeignKey(limit_choices_to={'GESAP_Actif': True}, on_delete=django.db.models.deletion.CASCADE, to='gest_user.ges_app', verbose_name='Application'),
- ),
- migrations.AlterField(
- model_name='ges_applink',
- name='GES_APPLink_Sup',
- field=models.CharField(blank=True, max_length=16, verbose_name='Info supplémentaire'),
- ),
- migrations.AlterField(
- model_name='ges_user',
- name='GES_APPs',
- field=models.ManyToManyField(limit_choices_to={'GESAP_Actif': True}, to='gest_user.GES_APP', verbose_name='Applications'),
- ),
- migrations.AlterField(
- model_name='ges_user',
- name='GES_Date',
- field=models.DateField(blank=True, null=True, verbose_name="Date d'arrivée"),
- ),
- migrations.AlterField(
- model_name='ges_user',
- name='GES_Fonction',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='gest_user.ges_fonction', verbose_name='Fonction'),
- ),
- migrations.AlterField(
- model_name='ges_user',
- name='GES_Motdepasse',
- field=models.CharField(blank=True, max_length=16, verbose_name='Mot de passe'),
- ),
- migrations.AlterField(
- model_name='ges_user',
- name='GES_Service',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='gest_clin.services', verbose_name='Service'),
- ),
- migrations.CreateModel(
- name='GES_APPMat',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('GES_APPs', models.ManyToManyField(limit_choices_to={'GESAP_Actif': True}, to='gest_user.GES_APP', verbose_name='Applications')),
- ('GES_Fonction', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='gest_user.ges_fonction', verbose_name='Fonction')),
- ('GES_Service', models.ManyToManyField(to='gest_clin.Services', verbose_name='Services')),
- ],
- options={
- 'verbose_name': 'Matrice Services - Fonctions - Applications',
- 'verbose_name_plural': 'Matrice Services - Fonctions - Applications',
- },
- ),
- ]
|