Skip to content

Commit

Permalink
Merge pull request #724 from CakeDC/issue/696-3.x
Browse files Browse the repository at this point in the history
696 - Fix table method to add the table to array as phinx does
  • Loading branch information
dereuromark authored Jun 7, 2024
2 parents a30328a + 657d11e commit d1147b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AbstractMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function table(string $tableName, array $options = []): Table
}

$table = new Table($tableName, $options, $this->getAdapter());
$this->tables[] = $table;

return $table;
}
Expand Down

0 comments on commit d1147b2

Please sign in to comment.