Commit fb988b79 authored by František Bereň's avatar František Bereň

fixed channdged properties

parent d69706fd
...@@ -353,25 +353,25 @@ class PostgreSqlPlatformTest extends AbstractPlatformTestCase ...@@ -353,25 +353,25 @@ class PostgreSqlPlatformTest extends AbstractPlatformTestCase
'dloo1', new \Doctrine\DBAL\Schema\Column( 'dloo1', new \Doctrine\DBAL\Schema\Column(
'dloo1', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 6) 'dloo1', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 6)
), ),
array('type') array('precision')
); );
$tableDiff->changedColumns['dloo2'] = new \Doctrine\DBAL\Schema\ColumnDiff( $tableDiff->changedColumns['dloo2'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo2', new \Doctrine\DBAL\Schema\Column( 'dloo2', new \Doctrine\DBAL\Schema\Column(
'dloo2', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 4) 'dloo2', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 4)
), ),
array('type') array('scale')
); );
$tableDiff->changedColumns['dloo3'] = new \Doctrine\DBAL\Schema\ColumnDiff( $tableDiff->changedColumns['dloo3'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo3', new \Doctrine\DBAL\Schema\Column( 'dloo3', new \Doctrine\DBAL\Schema\Column(
'dloo3', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 6) 'dloo3', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 6)
), ),
array('type') array()
); );
$tableDiff->changedColumns['dloo4'] = new \Doctrine\DBAL\Schema\ColumnDiff( $tableDiff->changedColumns['dloo4'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo4', new \Doctrine\DBAL\Schema\Column( 'dloo4', new \Doctrine\DBAL\Schema\Column(
'dloo4', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 8) 'dloo4', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 8)
), ),
array('type') array('precision', 'scale')
); );
$sql = $this->_platform->getAlterTableSQL($tableDiff); $sql = $this->_platform->getAlterTableSQL($tableDiff);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment