Skip to content

Commit 40bb961

Browse files
committed
Enlarge db field for title
Since we haven't reached 1.0.0 yet (and I'm assuming I'm the only user), I'll take the liberty of doing it in the initial migration instead of adding another one. Fixes #2
1 parent c10ed55 commit 40bb961

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/Migration/Version10000Date20250720000000.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
9898
$table->addColumn('link', Types::STRING, [
9999
'notnull' => true
100100
]);
101-
$table->addColumn('title', Types::STRING, [
102-
'notnull' => true
101+
$table->addColumn('title', Types::TEXT, [
102+
'notnull' => true,
103+
'length' => 4096,
103104
]);
104105
$table->addColumn('content', Types::TEXT, [
105106
'notnull' => true,

0 commit comments

Comments
 (0)