Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
7aed617c
Commit
7aed617c
authored
Aug 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4813: Fixed MSSQL schema that was getting incorrect info about constraints
parent
4e9f8bd5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
Schema.php
framework/db/mssql/Schema.php
+1
-1
No files found.
framework/CHANGELOG.md
View file @
7aed617c
...
...
@@ -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 #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 #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: 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)
...
...
framework/db/mssql/Schema.php
View file @
7aed617c
...
...
@@ -344,7 +344,7 @@ JOIN {$keyColumnUsageTableName} AS [kcu1] ON
JOIN {$keyColumnUsageTableName} AS [kcu2] ON
[kcu2].[constraint_catalog] = [rc].[constraint_catalog] 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]
WHERE [kcu1].[table_name] = :tableName
SQL;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment