Adam Goldsmith
35d8fec2a3
Relevant Django bug was fixed in 5.0.1 https://code.djangoproject.com/ticket/35019
25 lines
706 B
Python
25 lines
706 B
Python
# Generated by Django 5.0.1 on 2024-01-03 19:22
|
|
|
|
import django.db.models.expressions
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("membershipworks", "0006_eventext_instructor_flat_rate_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="eventmeetingtime",
|
|
name="duration",
|
|
field=models.GeneratedField(
|
|
db_persist=False,
|
|
expression=django.db.models.expressions.CombinedExpression(
|
|
models.F("end"), "-", models.F("start")
|
|
),
|
|
output_field=models.DurationField(),
|
|
),
|
|
),
|
|
]
|