peewee_migrate2 icon indicating copy to clipboard operation
peewee_migrate2 copied to clipboard

Support for advanced index creation

Open kalombos opened this issue 5 years ago • 0 comments

peewee_migrate makemigrations does not create migrations correctly for indexes created using this api http://docs.peewee-orm.com/en/latest/peewee/models.html#advanced-index-creation

  1. It does not detect any migration when the index has been added
  2. It puts something like < ModelIndex object at 0x7f49ef7d9e50> to Meta.indexes when you create a table

kalombos avatar Feb 13 '20 11:02 kalombos