handle PDO exceptions in createSchemaTable
This commit is contained in:
parent
da7660fa20
commit
11e6e43072
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ abstract class AbstractSQLDriver extends AbstractDriver
|
|||
|
||||
public function createSchemaTable()
|
||||
{
|
||||
$this->pdo->exec($this->sql_create_schema_table());
|
||||
try {
|
||||
$this->pdo->exec($this->sql_create_schema_table());
|
||||
} catch (\Throwable $th) {
|
||||
}
|
||||
return $this->tableExists(AbstractDriver::SCHEMA_TABLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue