Commit 518a1e1e authored by Matthieu Gautier's avatar Matthieu Gautier
Browse files

Force the re-creation of the index table when we make migration.

The structure of the index table may change and the migrate command
should handle those changes.

As the index table is not managed, we cannot detect those changes and
we must recreate the table all the time to be sure we've got the last
structure version.
parent 78605e2d
......@@ -6,7 +6,7 @@ from .utils import reindex_content
def create_index(sender, **kwargs):
if isinstance(sender, SearchConfig):
class SearchConfig(AppConfig):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment