mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Fixes #4813: Fixed MSSQL schema that was getting incorrect info about constraints
This commit is contained in:
		@ -83,6 +83,7 @@ Yii Framework 2 Change Log
 | 
				
			|||||||
- Bug #4592: Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO` (samdark)
 | 
					- Bug #4592: Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO` (samdark)
 | 
				
			||||||
- Bug #4654: Fixed issue with PostgreSQL and inserting boolean values with batch insert (cebe)
 | 
					- Bug #4654: Fixed issue with PostgreSQL and inserting boolean values with batch insert (cebe)
 | 
				
			||||||
- Bug #4727: Fixed wrong Stylus definition in `\yii\web\AssetConverter` (samdark)
 | 
					- Bug #4727: Fixed wrong Stylus definition in `\yii\web\AssetConverter` (samdark)
 | 
				
			||||||
 | 
					- Bug #4813: Fixed MSSQL schema that was getting incorrect info about constraints (samdark, SerjRamone, o-rey)
 | 
				
			||||||
- Bug: Fixed inconsistent return of `\yii\console\Application::runAction()` (samdark)
 | 
					- Bug: Fixed inconsistent return of `\yii\console\Application::runAction()` (samdark)
 | 
				
			||||||
- Bug: URL encoding for the route parameter added to `\yii\web\UrlManager` (klimov-paul)
 | 
					- Bug: URL encoding for the route parameter added to `\yii\web\UrlManager` (klimov-paul)
 | 
				
			||||||
- Bug: Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 (qiangxue)
 | 
					- Bug: Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 (qiangxue)
 | 
				
			||||||
 | 
				
			|||||||
@ -344,7 +344,7 @@ JOIN {$keyColumnUsageTableName} AS [kcu1] ON
 | 
				
			|||||||
JOIN {$keyColumnUsageTableName} AS [kcu2] ON
 | 
					JOIN {$keyColumnUsageTableName} AS [kcu2] ON
 | 
				
			||||||
    [kcu2].[constraint_catalog] = [rc].[constraint_catalog] AND
 | 
					    [kcu2].[constraint_catalog] = [rc].[constraint_catalog] AND
 | 
				
			||||||
    [kcu2].[constraint_schema] = [rc].[constraint_schema] AND
 | 
					    [kcu2].[constraint_schema] = [rc].[constraint_schema] AND
 | 
				
			||||||
    [kcu2].[constraint_name] = [rc].[constraint_name] AND
 | 
					    [kcu2].[constraint_name] = [rc].[unique_constraint_name] AND
 | 
				
			||||||
    [kcu2].[ordinal_position] = [kcu1].[ordinal_position]
 | 
					    [kcu2].[ordinal_position] = [kcu1].[ordinal_position]
 | 
				
			||||||
WHERE [kcu1].[table_name] = :tableName
 | 
					WHERE [kcu1].[table_name] = :tableName
 | 
				
			||||||
SQL;
 | 
					SQL;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user