Commit 636286f1 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Bugfix: Table#dropPrimaryKey() does not clean-up completely, leading to exceptions.

parent 456a756f
...@@ -168,6 +168,7 @@ class Table extends AbstractAsset ...@@ -168,6 +168,7 @@ class Table extends AbstractAsset
public function dropPrimaryKey() public function dropPrimaryKey()
{ {
$this->dropIndex($this->_primaryKeyName); $this->dropIndex($this->_primaryKeyName);
$this->_primaryKeyName = false;
} }
/** /**
......
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