Skip to content

Commit

Permalink
Add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
KwikKill committed Feb 3, 2024
1 parent a19d19a commit 5867614
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions insalan/tournament/migrations/0006_tournamentmailer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 4.1.12 on 2024-02-03 18:01

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('tournament', '0005_team_captain_tournament_planning'),
]

operations = [
migrations.CreateModel(
name='TournamentMailer',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('team_validated', models.BooleanField(blank=True, default=False, verbose_name="Filtre d'équipe validée")),
('captains', models.BooleanField(blank=True, default=False, verbose_name='Filtre de capitaines')),
('title', models.CharField(blank=True, default='', max_length=100, verbose_name='Titre du mail')),
('content', models.TextField(blank=True, default='', max_length=50000, verbose_name='Contenu du mail')),
('attachment', models.FileField(blank=True, null=True, upload_to='mail-attachments', verbose_name='Pièce jointe')),
('tournament', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='tournament.tournament', verbose_name='Tournoi')),
],
options={
'verbose_name_plural': 'mailers',
},
),
]

0 comments on commit 5867614

Please sign in to comment.