1
0

0001_initial.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Generated by Django 3.2.23 on 2023-12-29 08:16
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Batiments',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('BAT_Nom', models.CharField(max_length=64, unique=True, verbose_name='Nom du Batiments')),
  13. ('BAT_Anag', models.CharField(max_length=2, unique=True, verbose_name='Anagrame du Batiments')),
  14. ],
  15. options={
  16. 'verbose_name': 'Batiment',
  17. 'verbose_name_plural': 'Batiments',
  18. },
  19. ),
  20. migrations.CreateModel(
  21. name='Services',
  22. fields=[
  23. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  24. ('SERVICE_Nom', models.CharField(max_length=64, unique=True, verbose_name='Nom du Service')),
  25. ('SERVICE_Anag', models.CharField(max_length=2, unique=True, verbose_name='Anagrame du Service')),
  26. ],
  27. options={
  28. 'verbose_name': 'Service',
  29. 'verbose_name_plural': 'Services',
  30. },
  31. ),
  32. ]