Skip to content

Commit

Permalink
fix: INT must be INTEGER
Browse files Browse the repository at this point in the history
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
  • Loading branch information
ernolf committed Jul 28, 2024
1 parent ebe8b00 commit 01e61f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Migration/Version12000Date20240722120051.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
$table = $schema->getTable('twofactor_totp_secrets');

// Adding new columns
$table->addColumn('token_length', Types::INT, [
$table->addColumn('token_length', Types::INTEGER, [
'notnull' => true,
'default' => 6,
]);
$table->addColumn('hash_algorithm', Types::INT, [
$table->addColumn('hash_algorithm', Types::INTEGER, [
'notnull' => true,
'default' => 1,
]);
Expand Down

0 comments on commit 01e61f5

Please sign in to comment.