fix: Skip fulltext indexes during sync (#24728)

These are not managed by framework's migration system so we shouldn't
delete them.
This commit is contained in:
Ankush Menat 2024-02-05 11:00:44 +05:30 committed by GitHub
parent 77b248b180
commit c02f5d5876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -383,6 +383,7 @@ class MariaDBDatabase(MariaDBConnectionUtil, MariaDBExceptionUtil, Database):
WHERE Column_name = "{fieldname}"
AND Seq_in_index = 1
AND Non_unique={int(not unique)}
AND Index_type != 'FULLTEXT'
""",
as_dict=True,
)