Added missing attribute check to Doctrine_Configurable. Fixes #545.
This commit is contained in:
parent
dfd15a6068
commit
dc4be22bfe
@ -129,6 +129,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
|
|||||||
break;
|
break;
|
||||||
case Doctrine::ATTR_SEQNAME_FORMAT:
|
case Doctrine::ATTR_SEQNAME_FORMAT:
|
||||||
case Doctrine::ATTR_IDXNAME_FORMAT:
|
case Doctrine::ATTR_IDXNAME_FORMAT:
|
||||||
|
case Doctrine::ATTR_TBLNAME_FORMAT:
|
||||||
if ($this instanceof Doctrine_Table) {
|
if ($this instanceof Doctrine_Table) {
|
||||||
throw new Doctrine_Exception('Sequence / index name format attributes cannot be set'
|
throw new Doctrine_Exception('Sequence / index name format attributes cannot be set'
|
||||||
. 'at table level (only at connection or global level).');
|
. 'at table level (only at connection or global level).');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user