Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
fb988b79
Commit
fb988b79
authored
Nov 20, 2013
by
František Bereň
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed channdged properties
parent
d69706fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
PostgreSqlPlatformTest.php
.../Doctrine/Tests/DBAL/Platforms/PostgreSqlPlatformTest.php
+4
-4
No files found.
tests/Doctrine/Tests/DBAL/Platforms/PostgreSqlPlatformTest.php
View file @
fb988b79
...
...
@@ -353,25 +353,25 @@ class PostgreSqlPlatformTest extends AbstractPlatformTestCase
'dloo1'
,
new
\Doctrine\DBAL\Schema\Column
(
'dloo1'
,
\Doctrine\DBAL\Types\Type
::
getType
(
'decimal'
),
array
(
'precision'
=>
16
,
'scale'
=>
6
)
),
array
(
'
type
'
)
array
(
'
precision
'
)
);
$tableDiff
->
changedColumns
[
'dloo2'
]
=
new
\Doctrine\DBAL\Schema\ColumnDiff
(
'dloo2'
,
new
\Doctrine\DBAL\Schema\Column
(
'dloo2'
,
\Doctrine\DBAL\Types\Type
::
getType
(
'decimal'
),
array
(
'precision'
=>
10
,
'scale'
=>
4
)
),
array
(
'
typ
e'
)
array
(
'
scal
e'
)
);
$tableDiff
->
changedColumns
[
'dloo3'
]
=
new
\Doctrine\DBAL\Schema\ColumnDiff
(
'dloo3'
,
new
\Doctrine\DBAL\Schema\Column
(
'dloo3'
,
\Doctrine\DBAL\Types\Type
::
getType
(
'decimal'
),
array
(
'precision'
=>
10
,
'scale'
=>
6
)
),
array
(
'type'
)
array
()
);
$tableDiff
->
changedColumns
[
'dloo4'
]
=
new
\Doctrine\DBAL\Schema\ColumnDiff
(
'dloo4'
,
new
\Doctrine\DBAL\Schema\Column
(
'dloo4'
,
\Doctrine\DBAL\Types\Type
::
getType
(
'decimal'
),
array
(
'precision'
=>
16
,
'scale'
=>
8
)
),
array
(
'
typ
e'
)
array
(
'
precision'
,
'scal
e'
)
);
$sql
=
$this
->
_platform
->
getAlterTableSQL
(
$tableDiff
);
...
...
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