Skip to content

Commit 50bc53c

Browse files
author
David Verholen
committed
add cache vary data table
1 parent 52ecafb commit 50bc53c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Setup/InstallSchema.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ class InstallSchema implements InstallSchemaInterface
1414
*/
1515
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
1616
{
17-
if ($setup->tableExists('cache_tags')) {
18-
return;
19-
}
2017
$setup->startSetup();
2118
$setup->getConnection()->createTable($this->getCacheTagTableDefinition($setup));
2219
$setup->getConnection()->createTable($this->getCacheRouteTableDefinition($setup));
@@ -109,7 +106,7 @@ private function getCacheRouteTableDefinition(SchemaSetupInterface $setup): \Mag
109106
->addColumn(
110107
'cache_route',
111108
\Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
112-
"2M",
109+
255,
113110
['nullable' => false],
114111
'Cache Route'
115112
)

0 commit comments

Comments
 (0)