Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

these changes allow SMUI to run with mysql 8 #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/evolutions/default/3.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ create table input_tag (
last_update timestamp not null
);

create unique index input_tag_property_value_index on input_tag (solr_index_id, property, tag_value);
create unique index input_tag_property_value_index on input_tag (solr_index_id, property (100), tag_value (100));
create index input_tag_predefined_index on input_tag (predefined);

-- Add table tag_2_input
Expand Down
4 changes: 2 additions & 2 deletions conf/evolutions/default/8.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# --- !Ups

-- Ensure that we do not allow duplicate solr indexes with same name.
create unique index solr_index_field_name on solr_index (name);
create unique index solr_index_field_name on solr_index (name (500));

-- Ensure that we do not allow duplicate suggested solr fields for the same solr index.
create unique index suggested_solr_field_name_solr_index on suggested_solr_field (solr_index_id, name);
create unique index suggested_solr_field_name_solr_index on suggested_solr_field (solr_index_id, name (500));



Expand Down