Adam Goldsmith
1310e72e3f
was waiting on Django 5.0.5 to fix https://code.djangoproject.com/ticket/35350
26 lines
806 B
Python
26 lines
806 B
Python
# Generated by Django 5.0.6 on 2024-05-08 16:44
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("membershipworks", "0017_eventext_registrations_alter_eventinvoice_pdf"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="eventext",
|
|
name="details_timestamp",
|
|
field=models.GeneratedField(
|
|
db_persist=False,
|
|
expression=models.Func(
|
|
models.Func(models.F("details___ts"), function="FROM_UNIXTIME"),
|
|
template="CONVERT_TZ(%(expressions)s, @@session.time_zone, 'UTC')",
|
|
),
|
|
output_field=models.DateTimeField(),
|
|
verbose_name="Last details fetch",
|
|
),
|
|
),
|
|
]
|