reduce column length for MySQL 5.6 compatibility
This commit is contained in:
parent
600e5d1219
commit
bc5f35c609
@ -368,6 +368,7 @@ class Connection
|
||||
$table->addColumn('headers', self::$useDeprecatedConstants ? Type::TEXT : Types::TEXT)
|
||||
->setNotnull(true);
|
||||
$table->addColumn('queue_name', self::$useDeprecatedConstants ? Type::STRING : Types::STRING)
|
||||
->setLength(190) // MySQL 5.6 only supports 191 characters on an indexed column in utf8mb4 mode
|
||||
->setNotnull(true);
|
||||
$table->addColumn('created_at', self::$useDeprecatedConstants ? Type::DATETIME : Types::DATETIME_MUTABLE)
|
||||
->setNotnull(true);
|
||||
|
Reference in New Issue
Block a user