Skip to content

Commit

Permalink
change field to type 'TEXT' (no migration) (#120)
Browse files Browse the repository at this point in the history
Resolves: #116


For some reason it was not possible to do this by migration(I tried but
got `tinytext` instead of `text`), but this is not particularly
important, since this is more of a change for the future.

Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 authored Nov 22, 2023
1 parent 1ad803f commit 183c01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Migration/Version1000Date202305221555.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
'notnull' => true,
'length' => 64
]);
$table->addColumn('configvalue', Types::STRING, [
$table->addColumn('configvalue', Types::TEXT, [
'notnull' => false,
]);
$table->addColumn('sensitive', Types::SMALLINT, [
Expand Down Expand Up @@ -167,7 +167,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
'notnull' => true,
'length' => 64,
]);
$table->addColumn('configvalue', Types::STRING, [
$table->addColumn('configvalue', Types::TEXT, [
'notnull' => false,
]);

Expand Down

0 comments on commit 183c01b

Please sign in to comment.