Skip to content

Commit

Permalink
Fix key length for mysql
Browse files Browse the repository at this point in the history
Fixes #56
  • Loading branch information
SahAssar authored Aug 3, 2016
1 parent 1a18857 commit 6610fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/ContentTypeTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function addColumns()
parent::addColumns();
/** @var Config\Locale $locale */
foreach ($this->config->getLocales() as $locale) {
$this->table->addColumn($locale->getSlug() . '_slug', 'string', ['length' => 256, 'default' => '']);
$this->table->addColumn($locale->getSlug() . '_slug', 'string', ['length' => 191, 'default' => '']);
$this->table->addColumn($locale->getSlug() . '_data', 'text', ['notnull' => false]);
}
}
Expand Down

0 comments on commit 6610fd6

Please sign in to comment.