protected function importSchemaFile(string $schemaFile, string $controlTableName = null): void
    {
        if ($controlTableName !== null) {
            if ($this->db->getSchemaManager()->tablesExist([$controlTableName])) {
                $this->output->writeln('<comment>Schema already exists in the database, skipping schema import for file <info>' . $schemaFile . '</info></comment>');

                return;
            }
        }

        $this->runQueriesFromFile($schemaFile);
    }