Skip to content
Snippets Groups Projects
Verified Commit c1a16b22 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Make Schedule.last_date nullable

parent 69c50fd5
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.18 on 2023-04-16 22:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('program', '0053_auto_20230411_1855'),
]
operations = [
migrations.AlterField(
model_name='schedule',
name='last_date',
field=models.DateField(help_text='End date of schedule.', null=True),
),
]
......@@ -348,7 +348,7 @@ class Schedule(models.Model):
default=False,
help_text="Whether the schedule is a repetition.",
)
last_date = models.DateField(help_text="End date of schedule.")
last_date = models.DateField(help_text="End date of schedule.", null=True)
rrule = models.ForeignKey(
RRule,
on_delete=models.CASCADE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment