Skip to content

Commit

Permalink
Merge pull request #53 from neighborhoods/fix-db-setup-teardown-commands
Browse files Browse the repository at this point in the history
Actually perform schema changes
  • Loading branch information
mucha55 authored Jan 22, 2019
2 parents 8bc8243 + 66100e5 commit a99b358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Db/Schema/VersionAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public function applySchemaSetupChanges(): VersionInterface
);
$connection->beginTransaction();
}
$connection->getSchemaManager()->createTable($this->_getCreateTable());
$connection->commit();
} catch (\Throwable $throwable) {
$connection->rollBack();
throw $throwable;
Expand Down

0 comments on commit a99b358

Please sign in to comment.