setTableName('request'); $this->hasColumn('person_company', 'string', 255, array( 'type' => 'string', 'notnull' => true, 'length' => '255', )); $this->hasColumn('person_name', 'string', 255, array( 'type' => 'string', 'notnull' => true, 'length' => '255', )); $this->hasColumn('person_place', 'string', 255, array( 'type' => 'string', 'notnull' => true, 'length' => '255', )); $this->hasColumn('person_email', 'string', 255, array( 'type' => 'string', 'length' => '255', )); $this->hasColumn('person_phone', 'string', 255, array( 'type' => 'string', 'length' => '255', )); $this->hasColumn('person_note', 'clob', null, array( 'type' => 'clob', )); $this->hasColumn('communication_id', 'integer', null, array( 'type' => 'integer', )); $this->hasColumn('status', 'integer', null, array( 'type' => 'integer', )); $this->option('collate', 'utf8_unicode_ci'); $this->option('charset', 'utf8'); } public function setUp() { parent::setUp(); $this->hasOne('Communication', array( 'local' => 'communication_id', 'foreign' => 'id', 'onDelete' => 'CASCADE')); $timestampable0 = new Doctrine_Template_Timestampable(); $this->actAs($timestampable0); } }