db.utils.ProgrammingError when integrating pybbm
I have discovered an unusual problem -- when pybbm is integrated with a project using tenant-schemas, pybbm:0004 migration fails with the error
relation "pybb_category_slug_7344317c_like" already exists
I figured out that this is because the specified index already exists (created as part of previous migration step) and therefore the cursor error is being propagated.
The strange thing is when pybbm migration is run on a vanilla Django project, the index still exists when migration:0004 is run (it seems to be created at migration:0003), but this error does not cause the migrations to fail.
I searched through the entire issue list and couldn't find anything similar. Hope someone can look into it.
I'm using Django 1.11, btw.
See #519