Skip to content

Commit af9ce73

Browse files
yurasavinn2ygk
authored andcommitted
Issue 1295. Added revert action for migration
1 parent e4b06eb commit af9ce73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/migrations/0006_alter_application_client_secret.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ class Migration(migrations.Migration):
2626
name='client_secret',
2727
field=oauth2_provider.models.ClientSecretField(blank=True, db_index=True, default=oauth2_provider.generators.generate_client_secret, help_text='Hashed on Save. Copy it now if this is a new secret.', max_length=255),
2828
),
29-
migrations.RunPython(forwards_func),
29+
migrations.RunPython(forwards_func, migrations.RunPython.noop),
3030
]

0 commit comments

Comments
 (0)