123456789101112131415161718192021222324252627282930313233343536 |
- # Generated by Django 3.2.7 on 2021-12-14 07:49
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- ('parc_info', '0036_auto_20211213_0951'),
- ]
- operations = [
- migrations.AlterField(
- model_name='taches',
- name='Taches_Tech',
- field=models.CharField(choices=[('-', '* A def *'), ('LH', 'Laurent'), ('CM', '* A def *'), ('PG', 'Philippe')], default='-', max_length=16, verbose_name='Technicien'),
- ),
- migrations.CreateModel(
- name='Swich',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('SW_Site', models.CharField(choices=[('GENT', 'GENT'), ('CAP', 'CAP'), ('EXT', 'EXT')], default='EXT', max_length=4, verbose_name='Site')),
- ('SW_Nom', models.CharField(blank=True, max_length=64, null=True, verbose_name='Nom NETBIOS')),
- ('SW_IP', models.CharField(blank=True, max_length=64, null=True, verbose_name='Adresse IP')),
- ('SW_OS', models.CharField(choices=[('CISCO', 'Cisco'), ('ARUBA', 'Aruba')], default='CISCO', max_length=5, verbose_name='OS')),
- ('SW_TYPE', models.CharField(choices=[('F', 'Fast'), ('G', 'Giga')], default='F', max_length=1, verbose_name='Type')),
- ('SW_Commentaires', models.TextField(blank=True, null=True, verbose_name='Commentaires')),
- ('SW_Baie', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='parc_info.baie')),
- ],
- options={
- 'verbose_name': 'Swich',
- 'verbose_name_plural': 'Swichs',
- },
- ),
- ]
|