Skip to content

Commit 52d345c

Browse files
committed
migration goof
1 parent baf44d5 commit 52d345c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible_base/rbac/migrations/0005_remote_permissions_migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def migrate_content_type(apps, schema_editor):
2525
obj.save()
2626
for model_name in ('roleevaluation', 'roleevaluationuuid'):
2727
cls = apps.get_model('dab_rbac', model_name)
28-
cls.objects.delete()
28+
cls.objects.all().delete()
2929

3030

3131
class Migration(migrations.Migration):

0 commit comments

Comments
 (0)