Skip to content
Snippets Groups Projects
Unverified Commit 74cbc1f4 authored by ihtram's avatar ihtram Committed by GitHub
Browse files

Merge pull request #23965 from edx/ihtram/reverse-migration-fix

added reverse_sql method attribute to avoid sql operation error YONK-1588
parents 0f57bff0 002a2441
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,5 @@ class Migration(migrations.Migration):
operations = [
migrations.RunSQL(
'CREATE INDEX dcc_role_users_user_role_idx ON django_comment_client_role_users(user_id, role_id);',
reverse_sql=migrations.RunSQL.noop,
),
reverse_sql='DROP INDEX dcc_role_users_user_role_idx ON django_comment_client_role_users;'),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment