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
864bf936
Commit
864bf936
authored
Jun 09, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding style fix.
parent
42d332f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Schema.php
framework/yii/db/pgsql/Schema.php
+3
-4
No files found.
framework/yii/db/pgsql/Schema.php
View file @
864bf936
...
...
@@ -165,11 +165,11 @@ SQL;
$columns
=
explode
(
','
,
$constraint
[
'columns'
]);
$fcolumns
=
explode
(
','
,
$constraint
[
'foreign_columns'
]);
if
(
$constraint
[
'foreign_table_schema'
]
!==
$this
->
defaultSchema
)
{
$foreign
_t
able
=
$constraint
[
'foreign_table_schema'
]
.
'.'
.
$constraint
[
'foreign_table_name'
];
$foreign
T
able
=
$constraint
[
'foreign_table_schema'
]
.
'.'
.
$constraint
[
'foreign_table_name'
];
}
else
{
$foreign
_t
able
=
$constraint
[
'foreign_table_name'
];
$foreign
T
able
=
$constraint
[
'foreign_table_name'
];
}
$citem
=
array
(
$foreign
_t
able
);
$citem
=
array
(
$foreign
T
able
);
foreach
(
$columns
as
$idx
=>
$column
)
{
$citem
[]
=
array
(
$fcolumns
[
$idx
]
=>
$column
);
}
...
...
@@ -285,5 +285,4 @@ SQL;
$column
->
phpType
=
$this
->
getColumnPhpType
(
$column
);
return
$column
;
}
}
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