From f0eac2527cf15a45169180aa7c77b770092911d1 Mon Sep 17 00:00:00 2001 From: phpnut <phpnut@cakephp.org> Date: Sun, 4 Feb 2007 02:46:12 +0000 Subject: [PATCH] Adding fix for #2047 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4437 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/datasources/dbo/dbo_mssql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_mssql.php b/cake/libs/model/datasources/dbo/dbo_mssql.php index 7a6331b39..ff451e1a1 100644 --- a/cake/libs/model/datasources/dbo/dbo_mssql.php +++ b/cake/libs/model/datasources/dbo/dbo_mssql.php @@ -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'),