mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Renaming the index name to be compatible with SQL Server.
This commit is contained in:
parent
02d4188a29
commit
dee3efab49
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class ArticlesTagFixture extends CakeTestFixture {
|
||||||
public $fields = array(
|
public $fields = array(
|
||||||
'article_id' => array('type' => 'integer', 'null' => false),
|
'article_id' => array('type' => 'integer', 'null' => false),
|
||||||
'tag_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))
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue