$companies->setFrom(array(
'name' => $name,
'comptype' => $type,
- 'background_color' => ''
+ 'background_color' => '',
+ 'created_dt' => $this->sqlValue('NOW()'),
+ 'updated_dt' => $this->sqlValue('NOW()')
));
$companies->insert();
- print_r($companies);exit;
$companies->onInsert(array(), $roo);
}