Skip to content

Commit

Permalink
db: max path length 2000 chars -> 762
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Nov 29, 2023
1 parent 6028bc0 commit 996b7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Migration/Version1003Date202311061844.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
]);
$table->addColumn('path', Types::STRING, [
'notnull' => true,
'length' => 2000,
'length' => 256 * 3,
]);
$table->addColumn('after_app_id', Types::STRING, [
'notnull' => false,
Expand Down Expand Up @@ -130,7 +130,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
]);
$table->addColumn('path', Types::STRING, [
'notnull' => true,
'length' => 2000,
'length' => 256 * 3,
]);

$table->setPrimaryKey(['id']);
Expand Down

0 comments on commit 996b7a5

Please sign in to comment.