12345678910111213141516171819202122232425262728293031 |
- # Generated by Django 3.2.7 on 2022-07-12 10:18
- from django.db import migrations, models
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='Taches',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('Tache_Statut', models.CharField(choices=[('NOUVELLE', 'Nouvelle'), ('PROGRAMEE', 'Programmée'), ('ENCOUR', 'En cours'), ('FINI', 'Terminée')], default='NOUVELLE', max_length=16, verbose_name='Statut')),
- ('Taches_Nom', models.CharField(max_length=128, verbose_name='Nom de la tache')),
- ('Taches_Commentaires', models.TextField(verbose_name='Explication')),
- ('Taches_Tech', models.CharField(choices=[('-', '* A def *'), ('LH', 'Laurent'), ('CM', '* A def *'), ('PG', 'Philippe')], default='-', max_length=16, verbose_name='Technicien')),
- ('Tache_Date_Cree', models.DateTimeField(auto_now_add=True, verbose_name='Date crée')),
- ('Tache_Date_Programee', models.DateTimeField(blank=True, null=True, verbose_name='Date programmé')),
- ('Tache_Date_Terminee', models.DateTimeField(blank=True, editable=False, null=True, verbose_name='Date terminée')),
- ],
- options={
- 'verbose_name': 'Tache',
- 'verbose_name_plural': 'Taches',
- },
- ),
- ]
|