Renaming the index name to be compatible with SQL Server.

This commit is contained in:
Juan Basso 2011-05-24 00:07:38 -04:00
parent 02d4188a29
commit dee3efab49

View file

@ -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))
);
/**