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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
cb4488ae
Commit
cb4488ae
authored
Mar 30, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented Oracle column comment reading from another schema
parent
1539a325
Hide 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/oci/Schema.php
+1
-1
No files found.
framework/CHANGELOG.md
View file @
cb4488ae
...
...
@@ -182,6 +182,7 @@ Yii Framework 2 Change Log
-
Enh: Added
`yii\web\UrlRuleInterface`
and
`yii\web\CompositeUrlRule`
(qiangxue)
-
Enh: Added
`yii\web\Request::getAuthUser()`
and
`getAuthPassword()`
(qiangxue)
-
Enh: Added summaryOptions and emptyTextOptions to BaseListView (johonunu)
-
Enh: Implemented Oracle column comment reading from another schema (gureedo, samdark)
-
Chg #47: Changed Markdown library to cebe/markdown and adjusted Markdown helper API (cebe)
-
Chg #735: Added back
`ActiveField::hiddenInput()`
(qiangxue)
-
Chg #1186: Changed
`Sort`
to use comma to separate multiple sort fields and use negative sign to indicate descending sort (qiangxue)
...
...
framework/db/oci/Schema.php
View file @
cb4488ae
...
...
@@ -132,7 +132,7 @@ SELECT a.column_name, a.data_type ||
com.comments as column_comment
FROM ALL_TAB_COLUMNS A
inner join ALL_OBJECTS B ON b.owner = a.owner and ltrim(B.OBJECT_NAME) = ltrim(A.TABLE_NAME)
LEFT JOIN
user_col_comments com ON (
A.table_name = com.table_name AND A.column_name = com.column_name)
LEFT JOIN
all_col_comments com ON (A.owner = com.owner AND
A.table_name = com.table_name AND A.column_name = com.column_name)
WHERE
a.owner = '{$schemaName}'
and (b.object_type = 'TABLE' or b.object_type = 'VIEW')
...
...
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