fix column and max key length (#789)

This commit is contained in:
Kevin Papst
2019-05-14 23:09:33 +02:00
committed by GitHub
parent bbe1f9beda
commit 1903d6fb77
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class Version20190510205245 extends AbstractMigration
$tags = $schema->createTable('kimai2_tags');
$tags->addColumn('id', 'integer', ['length' => 11, 'autoincrement' => true, 'notnull' => true]);
$tags->addColumn('name', 'string', ['length' => 255, 'notnull' => true]);
$tags->addColumn('name', 'string', ['length' => 100, 'notnull' => true]);
$tags->addUniqueIndex(['name'], 'UNIQ_27CAF54C5E237E06');
$tags->setPrimaryKey(['id']);
}