Closed Maksim-Burtsev closed 10 months ago
When creating m2m relations between models table which contains ids (table1_id, table2_id) doesnt have indexes. Is it possible to add them without update sql-query in migration?
I solve this by creating table with two FK and specified it in ManyToMany(..., through='my_table_with_indexes') attr.
When creating m2m relations between models table which contains ids (table1_id, table2_id) doesnt have indexes. Is it possible to add them without update sql-query in migration?