Skip to content

Commit

Permalink
Set utf8mb4 charset on mysql kernel schema and fixtures (ezsystems#2277)
Browse files Browse the repository at this point in the history
* Set utf8mb4 charset on mysql kernel schema and fixtures
* Truncate varchar index lengths to 191 chars
* Add update SQL
  • Loading branch information
glye committed Apr 3, 2018
1 parent 614dc5e commit 0f82a08
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 307 deletions.
4 changes: 2 additions & 2 deletions data/mysql/dfs_schema.sql
Expand Up @@ -4,7 +4,7 @@

DROP TABLE IF EXISTS `ezdfsfile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE ezdfsfile (
`name` text NOT NULL,
`name_trunk` text NOT NULL,
Expand All @@ -20,7 +20,7 @@ CREATE TABLE ezdfsfile (
KEY `ezdfsfile_name_trunk` (`name_trunk`(250)),
KEY `ezdfsfile_mtime` (`mtime`),
KEY `ezdfsfile_expired_name` (`expired`,`name`(250))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;


Expand Down

0 comments on commit 0f82a08

Please sign in to comment.