Skip to content

Commit 83ee3db

Browse files
committed
Fix that #871 was not rebased on latest
1 parent acf47b7 commit 83ee3db

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
1414
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1515
(
1616
"migration_test_app",
17-
"0002_historicalmodelwithcustomattrforeignkey_modelwithcustomattrforeignkey",
17+
"0004_history_date_indexing",
1818
),
1919
]
2020

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated by Django 4.1.dev20211006030854 on 2021-10-07 13:51
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('migration_test_app', '0005_historicalmodelwithcustomattronetoonefield_modelwithcustomattronetoonefield'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='historicalmodelwithcustomattronetoonefield',
15+
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical model with custom attr one to one field'},
16+
),
17+
migrations.AlterField(
18+
model_name='historicalmodelwithcustomattronetoonefield',
19+
name='history_date',
20+
field=models.DateTimeField(db_index=True),
21+
),
22+
]

0 commit comments

Comments
 (0)