Changeset 4829 for branches/1.0/lib/Doctrine/Table.php
- Timestamp:
- 08/26/08 22:30:02 (19 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Table.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Table.php
r4823 r4829 639 639 if ($relation->getTable() === $this && in_array($relation->getLocal(), $primary)) { 640 640 if ($relation->hasConstraint()) { 641 throw new Doctrine_Table_Exception("Badly constructed integrity constraints. ");641 throw new Doctrine_Table_Exception("Badly constructed integrity constraints. Cannot define constraint of different fields in the same table."); 642 642 } 643 643 continue;