Compare commits
3 Commits
da0767a0e9
...
6ca6f1390c
Author | SHA1 | Date | |
---|---|---|---|
6ca6f1390c | |||
edd26e3f75 | |||
796f0d6ad1 |
@ -1,24 +0,0 @@
|
|||||||
# 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(),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user