1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/Error.php
2008-01-23 08:04:54 +00:00

13 lines
368 B
PHP

<?php
class Error extends Doctrine_Record {
public function setUp() {
$this->hasMany('Description', 'Description.file_md5', 'file_md5');
}
public function setTableDefinition() {
$this->hasColumn('message', 'string',200);
$this->hasColumn('code', 'integer',11);
$this->hasColumn('file_md5', 'string',32, 'primary');
}
}