Skip to content

Commit

Permalink
fix: add missing migration
Browse files Browse the repository at this point in the history
Generated by django-simple-history a year ago,
after upgrading from 2.12.0 to 3.3.0 in commit c94abcb
See: https://django-simple-history.readthedocs.io/en/latest/#id6
  • Loading branch information
danipran committed Mar 18, 2024
1 parent b4c1969 commit 2d4a7d4
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions hours/migrations/0018_auto_20240318_1459.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Generated by Django 3.2.18 on 2024-03-18 12:59

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("hours", "0017_add_date_periods_as_text_to_resource"),
]

operations = [
migrations.AlterModelOptions(
name="historicaldatasource",
options={
"get_latest_by": ("history_date", "history_id"),
"ordering": ("-history_date", "-history_id"),
"verbose_name": "historical Data source",
"verbose_name_plural": "historical Data sources",
},
),
migrations.AlterModelOptions(
name="historicaldateperiod",
options={
"get_latest_by": ("history_date", "history_id"),
"ordering": ("-history_date", "-history_id"),
"verbose_name": "historical Period",
"verbose_name_plural": "historical Periods",
},
),
migrations.AlterModelOptions(
name="historicalresource",
options={
"get_latest_by": ("history_date", "history_id"),
"ordering": ("-history_date", "-history_id"),
"verbose_name": "historical Resource",
"verbose_name_plural": "historical Resources",
},
),
migrations.AlterModelOptions(
name="historicalrule",
options={
"get_latest_by": ("history_date", "history_id"),
"ordering": ("-history_date", "-history_id"),
"verbose_name": "historical Rule",
"verbose_name_plural": "historical Rules",
},
),
migrations.AlterModelOptions(
name="historicaltimespan",
options={
"get_latest_by": ("history_date", "history_id"),
"ordering": ("-history_date", "-history_id"),
"verbose_name": "historical Time span",
"verbose_name_plural": "historical Time spans",
},
),
migrations.AlterField(
model_name="historicaldatasource",
name="history_date",
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name="historicaldateperiod",
name="history_date",
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name="historicalresource",
name="history_date",
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name="historicalrule",
name="history_date",
field=models.DateTimeField(db_index=True),
),
migrations.AlterField(
model_name="historicaltimespan",
name="history_date",
field=models.DateTimeField(db_index=True),
),
]

0 comments on commit 2d4a7d4

Please sign in to comment.