Adding fix for #2047

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4437 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-02-04 02:46:12 +00:00
parent 45162b05fd
commit f0eac2527c

View file

@ -88,7 +88,7 @@ class DboMssql extends DboSource {
* @var array
*/
var $columns = array(
'primary_key' => array('name' => 'int(11) DEFAULT NULL auto_increment'),
'primary_key' => array('name' => 'int IDENTITY (1, 1) NOT NULL'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),
'integer' => array('name' => 'int', 'limit' => '11', 'formatter' => 'intval'),