1
0

0007_auto_20220422_1326.py 1.1 KB

12345678910111213141516171819202122232425262728
  1. # Generated by Django 3.2.7 on 2022-04-22 13:26
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('gest_user', '0006_ges_user_ges_motdepasse'),
  7. ]
  8. operations = [
  9. migrations.AddField(
  10. model_name='ges_user',
  11. name='GES_L_Site',
  12. field=models.CharField(choices=[('GENT', 'GENT'), ('CAP', 'CAP'), ('EXT', 'EXT')], default='EXT', max_length=4, verbose_name='Site'),
  13. ),
  14. migrations.CreateModel(
  15. name='GES_APPLink',
  16. fields=[
  17. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  18. ('GES_APPLink_Create', models.BooleanField(default=False, verbose_name='Crée')),
  19. ('GES_APPLink_APP', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gest_user.ges_app')),
  20. ('GES_APPLink_User', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gest_user.ges_user')),
  21. ],
  22. ),
  23. ]