Skip to content

Commit

Permalink
fix: invalid add_index column
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Nov 17, 2023
1 parent b1d4cdc commit 55f541f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions insights/insights/doctype/insights_table/insights_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,4 @@ def update_column_type(self, column, newtype):


def on_doctype_update():
frappe.db.add_index(
"Insights Table", ["`data_source`", "`table`"], "data_source_table_index"
)
frappe.db.add_index("Insights Table", ["data_source", "table"], "data_source_table_index")

0 comments on commit 55f541f

Please sign in to comment.