Skip to content

Commit

Permalink
Merge pull request #1196 from SethKaufman/fix/key-length
Browse files Browse the repository at this point in the history
Restrict key length for compatibility with older MySQL versions
  • Loading branch information
SethKaufman committed Oct 21, 2021
2 parents fb6a78b + e8d869f commit f34ce5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/inc/schema_mysql.sql
Expand Up @@ -2185,7 +2185,7 @@ create index i_table_num on ca_attributes(table_num);
create index i_element_id on ca_attributes(element_id);
create index i_row_table_num on ca_attributes(row_id, table_num);
create index i_prefetch ON ca_attributes(row_id, element_id, table_num);
create index i_value_source on ca_attribute_values(value_source);
create index i_value_source on ca_attribute_values(value_source(255));


/*==========================================================================*/
Expand Down
2 changes: 1 addition & 1 deletion support/sql/migrations/173.sql
Expand Up @@ -7,7 +7,7 @@
/*==========================================================================*/

ALTER TABLE ca_attributes ADD COLUMN value_source varchar(1024) null default null;
CREATE INDEX i_value_source ON ca_attributes(value_source);
CREATE INDEX i_value_source ON ca_attributes(value_source(255));

/*==========================================================================*/

Expand Down

0 comments on commit f34ce5a

Please sign in to comment.