Changeset 4517
- Timestamp:
- 06/13/08 16:17:21 (13 months ago)
- Location:
- branches/0.11
- Files:
-
- 1 added
- 2 modified
-
lib/Doctrine/Import/Schema.php (modified) (1 diff)
-
tests/run.php (modified) (1 diff)
-
tests/Ticket/1118TestCase.php (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Import/Schema.php
r4502 r4517 512 512 if (isset($array[$columnClassName]) && !isset($array[$className]['relations'][$columnClassName])) { 513 513 $array[$className]['relations'][$columnClassName] = array(); 514 515 // Set the detected foreign key type and length to the same as the primary key 516 // of the related table 517 $array[$className]['columns'][$column['name']]['type'] = $array[$columnClassName]['columns']['id']['type']; 518 $array[$className]['columns'][$column['name']]['length'] = $array[$columnClassName]['columns']['id']['length']; 514 519 } 515 520 } -
branches/0.11/tests/run.php
r4514 r4517 79 79 $tickets->addTestCase(new Doctrine_Ticket_1121_TestCase()); 80 80 $tickets->addTestCase(new Doctrine_Ticket_1134_TestCase()); 81 $tickets->addTestCase(new Doctrine_Ticket_1118_TestCase()); 81 82 82 83 $test->addTestCase($tickets);