Skip to content

Commit d86e2a1

Browse files
committed
fix cached_name
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent e6993c9 commit d86e2a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Migration/Version0019Date20200603080001.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
427427
);
428428
$table->addColumn(
429429
'cached_name', 'string', [
430-
'notnull' => true,
430+
'notnull' => false,
431431
'length' => 255,
432432
'default' => ''
433433
]

lib/Migration/Version0019Date20200713184401.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
7575
if (!$table->hasColumn('cached_name')) {
7676
$table->addColumn(
7777
'cached_name', 'string', [
78-
'notnull' => true,
78+
'notnull' => false,
7979
'length' => 255,
8080
'default' => ''
8181
]

0 commit comments

Comments
 (0)