0001_initial.py 1.5 KB

12345678910111213141516171819202122232425262728
  1. # Generated by Django 3.2.7 on 2022-03-29 10:04
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. initial = True
  6. operations = [
  7. migrations.CreateModel(
  8. name='GES_User',
  9. fields=[
  10. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  11. ('GES_Nom', models.CharField(max_length=16, verbose_name='Mot de passe Session App Med')),
  12. ('GES_Prenom', models.CharField(max_length=16, verbose_name='Mot de passe Session App Med')),
  13. ('GES_AD_Logon', models.BooleanField(default=False, verbose_name='Compte AD')),
  14. ('GES_MED_Logon', models.BooleanField(default=False, verbose_name='Compte AD')),
  15. ('GES_AD_MDP', models.CharField(blank=True, max_length=16, verbose_name='Mot de passe Session AD')),
  16. ('GES_MED_MDP', models.CharField(blank=True, max_length=16, verbose_name='Mot de passe Session App Med')),
  17. ('GES_ELSAN_EMAIL', models.BooleanField(default=False, verbose_name='Compte Email Elsan')),
  18. ('GES_PULSY_EMAIL', models.BooleanField(default=False, verbose_name='Compte Email Plusy')),
  19. ('GES_Commentaire', models.TextField(blank=True, null=True, verbose_name='Commentaires')),
  20. ('GES_Service', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='parc_info.services')),
  21. ],
  22. ),
  23. ]