. */ /** * Doctrine_Record_TestCase * * @package Doctrine * @author Konsta Vesterinen * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ */ class Doctrine_Ticket_589_TestCase extends Doctrine_UnitTestCase { public function testExportPrimaryIdWithUnsignedWhenDefinedInClass() { $sql = $this->conn->export->exportClassesSql(array('Ticket589')); $this->assertEqual($sql[0], 'CREATE TABLE ticket589 (id INTEGER NOT NULL UNSIGNED PRIMARY KEY AUTOINCREMENT, name VARCHAR(50))'); } }