diff --git a/src/AbstractMigration.php b/src/AbstractMigration.php index 7467ee6f..086844c2 100644 --- a/src/AbstractMigration.php +++ b/src/AbstractMigration.php @@ -45,6 +45,7 @@ public function table(string $tableName, array $options = []): Table } $table = new Table($tableName, $options, $this->getAdapter()); + $this->tables[] = $table; return $table; }