mirror of https://github.com/interlegis/sigi.git
5 changed files with 193 additions and 18 deletions
@ -0,0 +1,41 @@ |
|||||
|
# Generated by Django 5.0.6 on 2024-07-30 15:53 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
("utils", "0004_alter_jobschedule_options_cronjob_manter_logs"), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name="cronjob", |
||||
|
name="destinatario_email", |
||||
|
field=models.TextField( |
||||
|
blank=True, |
||||
|
help_text="Insira um endereço de e-mail por linha.", |
||||
|
verbose_name="destinatário(s) de e-mail", |
||||
|
), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name="cronjob", |
||||
|
name="digest", |
||||
|
field=models.CharField( |
||||
|
choices=[ |
||||
|
("N", "Enviar sem digest"), |
||||
|
("D", "Enviar com digest diário"), |
||||
|
("S", "Enviar com digest semanal"), |
||||
|
], |
||||
|
default="N", |
||||
|
max_length=1, |
||||
|
verbose_name="digest", |
||||
|
), |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name="jobschedule", |
||||
|
name="enviado", |
||||
|
field=models.BooleanField(default=False, verbose_name="enviado"), |
||||
|
), |
||||
|
] |
@ -0,0 +1,24 @@ |
|||||
|
# Generated by Django 5.0.6 on 2024-08-13 13:35 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
("utils", "0005_cronjob_destinatario_email_cronjob_digest_and_more"), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name="jobschedule", |
||||
|
name="enviado", |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name="cronjob", |
||||
|
name="last_digest", |
||||
|
field=models.DateTimeField( |
||||
|
blank=True, null=True, verbose_name="último envio de digest" |
||||
|
), |
||||
|
), |
||||
|
] |
Loading…
Reference in new issue