Trac
Changeset 4780 for branches/1.0
- Timestamp:
- 08/19/08 03:25:03 (3 months ago)
- Files:
-
- branches/1.0/lib/Doctrine/Export.php (modified) (1 diff)
- branches/1.0/lib/Doctrine/Export/Mssql.php (modified) (1 diff)
- branches/1.0/tests/run.php (modified) (1 diff)
- branches/1.0/tests/Ticket/1131TestCase.php (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/Doctrine/Export.php
r4779 r4780 786 786 public function getNotNullFieldDeclaration(array $definition) 787 787 { 788 return (isset($ field['notnull']) && $field['notnull']) ? ' NOT NULL' : '';788 return (isset($definition['notnull']) && $definition['notnull']) ? ' NOT NULL' : ''; 789 789 } 790 790 branches/1.0/lib/Doctrine/Export/Mssql.php
r4779 r4780 266 266 public function getNotNullFieldDeclaration(array $definition) 267 267 { 268 return (isset($ field['notnull']) && $field['notnull']) ? ' NOT NULL' : ' NULL';268 return (isset($definition['notnull']) && $definition['notnull']) ? ' NOT NULL' : ' NULL'; 269 269 } 270 270 } branches/1.0/tests/run.php
r4778 r4780 94 94 $tickets->addTestCase(new Doctrine_Ticket_1123_TestCase()); 95 95 $tickets->addTestCase(new Doctrine_Ticket_1124_TestCase()); 96 $tickets->addTestCase(new Doctrine_Ticket_1131_TestCase()); 96 97 $tickets->addTestCase(new Doctrine_Ticket_1133_TestCase()); 97 98 $tickets->addTestCase(new Doctrine_Ticket_1160_TestCase());