2007-09-02 18:24:49 +04:00
|
|
|
<?php
|
|
|
|
class Error extends Doctrine_Record {
|
2008-02-04 00:29:57 +03: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 18:24:49 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|