Skip to content

Commit

Permalink
696 - Fix table method to add the table to array as phinx does
Browse files Browse the repository at this point in the history
  • Loading branch information
ajibarra committed Apr 26, 2024
1 parent 2a5f996 commit 6485b59
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 6485b59

Please sign in to comment.