Skip to content

Commit

Permalink
Merge pull request #202 from City-of-Helsinki/fix/add-missing-migration
Browse files Browse the repository at this point in the history
fix: add missing migration
  • Loading branch information
danipran authored Mar 18, 2024
2 parents b4c1969 + 2d4a7d4 commit 9944b05
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 9944b05

Please sign in to comment.