From 6ed419849eff3888240940ab0eea706cd411ed56 Mon Sep 17 00:00:00 2001 From: Dev-Speranza Date: Thu, 9 May 2013 02:40:02 +0300 Subject: [PATCH] Fix $schemaMap declaration for Mssql driver --- framework/db/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/Connection.php b/framework/db/Connection.php index 03b10a8..37a5307 100644 --- a/framework/db/Connection.php +++ b/framework/db/Connection.php @@ -242,7 +242,7 @@ class Connection extends Component 'mysql' => 'yii\db\mysql\Schema', // MySQL 'sqlite' => 'yii\db\sqlite\Schema', // sqlite 3 'sqlite2' => 'yii\db\sqlite\Schema', // sqlite 2 - 'mssql' => 'yi\db\dao\mssql\Schema', // Mssql driver on windows hosts + 'mssql' => 'yii\db\dao\mssql\Schema', // Mssql driver on windows hosts 'sqlsrv' => 'yii\db\mssql\Schema', // Mssql 'oci' => 'yii\db\oci\Schema', // Oracle driver 'dblib' => 'yii\db\mssql\Schema', // dblib drivers on linux (and maybe others os) hosts