Skip to content

Commit

Permalink
Merge pull request #711 from CakeDC/issue/696
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
markstory authored Apr 28, 2024
2 parents def209f + 54444aa commit 3de99c3
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 3de99c3

Please sign in to comment.