Skip to content

Commit

Permalink
Shorten index kex to allow for utf8mb4 / innodb setups
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai committed Dec 6, 2016
1 parent 0f13750 commit 2e64b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Migrations.module
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class Migrations extends WireData implements Module {

CREATE TABLE {$this->className} (
id int unsigned NOT NULL auto_increment,
class varchar(255) NOT NULL DEFAULT '',
class varchar(250) NOT NULL DEFAULT '',
PRIMARY KEY(id),
UNIQUE KEY(class)
) ENGINE = MYISAM;
Expand Down

0 comments on commit 2e64b2a

Please sign in to comment.