Skip to content

Commit de72e4a

Browse files
committed
Update test migration
1 parent afbf101 commit de72e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_history/tests/migration_test_app/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Migration(migrations.Migration):
3030
('history_id', models.AutoField(serialize=False, primary_key=True)),
3131
('history_date', models.DateTimeField()),
3232
('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
33-
('history_user', models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True)),
33+
('history_user', models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True)),
3434
],
3535
options={'ordering': ('-history_date', '-history_id'), 'get_latest_by': 'history_date', 'verbose_name': 'historical yar'},
3636
bases=(models.Model,),

0 commit comments

Comments
 (0)