Skip to content

Commit d1147b2

Browse files
authored
Merge pull request #724 from CakeDC/issue/696-3.x
696 - Fix table method to add the table to array as phinx does
2 parents a30328a + 657d11e commit d1147b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/AbstractMigration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function table(string $tableName, array $options = []): Table
4545
}
4646

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

4950
return $table;
5051
}

0 commit comments

Comments
 (0)