Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
schustmi committed Jan 30, 2025
1 parent 095a01a commit 86e72c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zenml/zen_stores/schemas/schema_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def get_index_name(table_name: str, column_names: List[str]) -> str:
The index name.
"""
columns = "_".join(column_names)
# MySQL allows a maximum of 64 characters in identifiers
return f"ix_{table_name}_{columns}"[:64]


Expand Down

0 comments on commit 86e72c1

Please sign in to comment.