Skip to content

Commit

Permalink
Merge pull request #2462 from ytetsuro/patch-2
Browse files Browse the repository at this point in the history
 Fix impossible length for migration table id.
  • Loading branch information
MGatner authored Dec 24, 2019
2 parents ac509b3 + 11f7d2b commit 507462b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Database/MigrationRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,8 @@ public function ensureTable()

$forge->addField([
'id' => [
'type' => 'INTEGER',
'constraint' => 255,
'type' => 'BIGINT',
'constraint' => 20,
'unsigned' => true,
'auto_increment' => true,
],
Expand Down

0 comments on commit 507462b

Please sign in to comment.