2007-09-02 14:24:49 +00:00
|
|
|
<?php
|
|
|
|
class Error extends Doctrine_Record {
|
2008-02-03 21:29:57 +00:00
|
|
|
public static function initMetadata($class) {
|
|
|
|
$class->setColumn('message', 'string',200);
|
|
|
|
$class->setColumn('code', 'integer',11);
|
|
|
|
$class->setColumn('file_md5', 'string',32, 'primary');
|
|
|
|
$class->hasMany('Description', array('local' => 'file_md5', 'foreign' => 'file_md5'));
|
2007-09-02 14:24:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|