diff --git a/src/Migrator.php b/src/Migrator.php index dfa60afc..75fc2b61 100644 --- a/src/Migrator.php +++ b/src/Migrator.php @@ -138,7 +138,7 @@ private function checkMigrationHistoryTable(): void private function createMigrationHistoryTable(): void { - $tableName = $this->db->getSchema()->getRawTableName($this->historyTable); + $tableName = $this->db->getQuoter()->getRawTableName($this->historyTable); $this->informer->beginCreateHistoryTable('Creating migration history table "' . $tableName . '"...'); $b = $this->createBuilder(new NullMigrationInformer());