Skip to content

Commit

Permalink
fix: Skip fulltext indexes during sync (#24728) (#24734)
Browse files Browse the repository at this point in the history
These are not managed by framework's migration system so we shouldn't
delete them.

(cherry picked from commit c02f5d5)

Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
mergify[bot] and ankush committed Feb 5, 2024
1 parent 456ec8a commit 8e078f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frappe/database/mariadb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ def get_column_index(
WHERE Column_name = "{fieldname}"
AND Seq_in_index = 1
AND Non_unique={int(not unique)}
AND Index_type != 'FULLTEXT'
""",
as_dict=True,
)
Expand Down

0 comments on commit 8e078f3

Please sign in to comment.