12345678910111213141516171819202122232425262728293031 |
- # Generated by Django 3.2.7 on 2022-03-17 07:53
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- ('parc_info', '0041_auto_20220316_1435'),
- ]
- operations = [
- migrations.AlterModelOptions(
- name='swich',
- options={'verbose_name': 'Switch', 'verbose_name_plural': 'Switchs'},
- ),
- migrations.CreateModel(
- name='Port_Link',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('PL_Port', models.PositiveSmallIntegerField(verbose_name='Port sur le Switch')),
- ('PL_Headbang_plug', models.CharField(blank=True, max_length=4, verbose_name='Prise sur le bandeau')),
- ('PL_Swich', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='parc_info.swich')),
- ],
- options={
- 'verbose_name': 'Lien des prises vers les Switchs',
- 'verbose_name_plural': 'Lien des prises vers les Switchs',
- },
- ),
- ]
|