Browse Source

Fix for CakeShell schema generate for Sqlsrv

Do not generate invalid schema.php when using SQLServer

Refs #3559
Marc Würth 13 years ago
parent
commit
fa118a73a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Model/Datasource/DboSource.php

+ 1 - 1
lib/Cake/Model/Datasource/DboSource.php

@@ -2954,7 +2954,7 @@ class DboSource extends DataSource {
  * @return array Fields in table. Keys are column and unique
  */
 	public function index($model) {
-		return false;
+		return array();
 	}
 
 /**