1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/Error.php

13 lines
369 B
PHP
Raw Normal View History

<?php
class Error extends Doctrine_Record {
public function setUp() {
$this->ownsMany('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');
}
}