Skip to content

Commit

Permalink
KYLO-3171 feed_acl_index collate principal column as binary (case sen…
Browse files Browse the repository at this point in the history
…sitive)
  • Loading branch information
scottreisdorf committed Dec 9, 2018
1 parent 97b5d1b commit 651a7e1
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<!--
#%L
kylo-service-app
%%
Copyright (C) 2017 ThinkBig Analytics
%%
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->

<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">

<changeSet author="sr186054" id="alter_feed_acl_index_principal_collation" dbms="mysql">
<sql dbms="mysql">
ALTER TABLE kylo.FEED_ACL_INDEX MODIFY principal varchar(255) COLLATE utf8_bin;
</sql>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
#%L
kylo-service-app
%%
Copyright (C) 2017 ThinkBig Analytics
%%
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->

<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
<include file="alter_feed_acl_index_principal_collation.xml" relativeToChangelogFile="true"/>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
<include file="0.8.4/changelog.xml" relativeToChangelogFile="true"/>
<include file="0.8.4.1/changelog.xml" relativeToChangelogFile="true"/>
<include file="0.9.1/changelog.xml" relativeToChangelogFile="true"/>
<include file="0.11.0/changelog.xml" relativeToChangelogFile="true"/>

</databaseChangeLog>

0 comments on commit 651a7e1

Please sign in to comment.