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

Fixes and improvements to the MySQL database #21

Open
wants to merge 4 commits 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 mysql/sampledb/v1/data/name_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ Insert into name_data (name_type,name) values ('LAST','Yefri');
Insert into name_data (name_type,name) values ('LAST','Yeldon');
Insert into name_data (name_type,name) values ('LAST','Yhonathan');
Insert into name_data (name_type,name) values ('LAST','Yimi');
Insert into name_data (name_type,name) values ('LAST','Yoenis')
Insert into name_data (name_type,name) values ('LAST','Yoenis');
Insert into name_data (name_type,name) values ('LAST','Yoervis');
Insert into name_data (name_type,name) values ('LAST','Yohan');
Insert into name_data (name_type,name) values ('LAST','Yohander');
Expand Down
3 changes: 2 additions & 1 deletion mysql/sampledb/v1/schema/create_dms_sample.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
# limitations under the License.


create database if not exists dms_sample;
create database if not exists dms_sample
character set utf8 collate utf8_unicode_ci;
2 changes: 1 addition & 1 deletion mysql/sampledb/v1/schema/name_data.tab
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

create table name_data(
name_type VARCHAR(15) NOT NULL,
name VARCHAR(45) NOT NULL,
name VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, # make this column case sensitive because there case sensitive dups in the source data
constraint name_data_pk primary key(name_type, name)
);