Commit 550cbc89 authored by andig's avatar andig

Clean invalid primary option

parent bd07dced
...@@ -332,7 +332,7 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase ...@@ -332,7 +332,7 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
public function testAlterPrimaryKeyWithAutoincrementColumn() public function testAlterPrimaryKeyWithAutoincrementColumn()
{ {
$table = new Table("drop_primary_key"); $table = new Table("drop_primary_key");
$table->addColumn('id', 'integer', array('primary' => true, 'autoincrement' => true)); $table->addColumn('id', 'integer', array('autoincrement' => true));
$table->addColumn('foo', 'integer'); $table->addColumn('foo', 'integer');
$table->setPrimaryKey(array('id')); $table->setPrimaryKey(array('id'));
...@@ -358,8 +358,8 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase ...@@ -358,8 +358,8 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
public function testDropPrimaryKeyWithAutoincrementColumn() public function testDropPrimaryKeyWithAutoincrementColumn()
{ {
$table = new Table("drop_primary_key"); $table = new Table("drop_primary_key");
$table->addColumn('id', 'integer', array('primary' => true, 'autoincrement' => true)); $table->addColumn('id', 'integer', array('autoincrement' => true));
$table->addColumn('foo', 'integer', array('primary' => true)); $table->addColumn('foo', 'integer');
$table->addColumn('bar', 'integer'); $table->addColumn('bar', 'integer');
$table->setPrimaryKey(array('id', 'foo')); $table->setPrimaryKey(array('id', 'foo'));
......
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