Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 24de619

Browse filesBrowse files
authored
set column length for mysql 5.6 compatibility
MySQL 5.6 does not support more than 191 characters when an index is used and when using utf8mb4 as charset. As a workaround, I define the length of the queue_name field.
1 parent e778ea6 commit 24de619
Copy full SHA for 24de619

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
  • src/Symfony/Component/Messenger/Bridge/Doctrine/Transport
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ private function addTableToSchema(Schema $schema): void
390390
$table->addColumn('headers', self::$useDeprecatedConstants ? Type::TEXT : Types::TEXT)
391391
->setNotnull(true);
392392
$table->addColumn('queue_name', self::$useDeprecatedConstants ? Type::STRING : Types::STRING)
393+
->setLength(190) // https://github.com/symfony/symfony/issues/37116
393394
->setNotnull(true);
394395
$table->addColumn('created_at', self::$useDeprecatedConstants ? Type::DATETIME : Types::DATETIME_MUTABLE)
395396
->setNotnull(true);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.