Browse Source

Renaming the index name to be compatible with SQL Server.

Juan Basso 15 years ago
parent
commit
dee3efab49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Test/Fixture/ArticlesTagFixture.php

+ 1 - 1
lib/Cake/Test/Fixture/ArticlesTagFixture.php

@@ -41,7 +41,7 @@ class ArticlesTagFixture extends CakeTestFixture {
 	public $fields = array(
 		'article_id' => array('type' => 'integer', 'null' => false),
 		'tag_id' => array('type' => 'integer', 'null' => false),
-		'indexes' => array('UNIQUE_TAG' => array('column'=> array('article_id', 'tag_id'), 'unique'=>1))
+		'indexes' => array('UNIQUE_TAG2' => array('column'=> array('article_id', 'tag_id'), 'unique'=>1))
 	);
 
 /**