2007-09-02 18:24:49 +04:00
|
|
|
<?php
|
|
|
|
class Error extends Doctrine_Record {
|
|
|
|
public function setUp() {
|
2008-01-23 11:04:54 +03:00
|
|
|
$this->hasMany('Description', 'Description.file_md5', 'file_md5');
|
2007-09-02 18:24:49 +04:00
|
|
|
}
|
|
|
|
public function setTableDefinition() {
|
|
|
|
$this->hasColumn('message', 'string',200);
|
|
|
|
$this->hasColumn('code', 'integer',11);
|
|
|
|
$this->hasColumn('file_md5', 'string',32, 'primary');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|