1
0

0073_auto_20231127_1036.py 1.0 KB

123456789101112131415161718192021222324252627282930
  1. # Generated by Django 3.2.16 on 2023-11-27 10:36
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('parc_info', '0072_auto_20230706_1541'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='PIC_History',
  11. fields=[
  12. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  13. ('H_Date', models.DateTimeField(auto_now_add=True, verbose_name='Date crée')),
  14. ('H_Commentaire', models.TextField(verbose_name='Historique')),
  15. ('H_PIC', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='parc_info.pic')),
  16. ],
  17. options={
  18. 'verbose_name': 'Historique un poste Informatique',
  19. 'verbose_name_plural': 'Historique lié un poste Informatique',
  20. },
  21. ),
  22. migrations.DeleteModel(
  23. name='Update_switch_port',
  24. ),
  25. ]