Skip to content

Commit 31ae955

Browse files
committed
add index to allow multiple plugins with same name in initial migration
1 parent 7067e31 commit 31ae955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangoplugins/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ class Migration(migrations.Migration):
4242
),
4343
migrations.AlterUniqueTogether(
4444
name='plugin',
45-
unique_together=set([('point', 'name')]),
45+
unique_together=set([('point', 'name', 'index')]),
4646
),
4747
]

0 commit comments

Comments
 (0)