1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/models/Error.php

13 lines
368 B
PHP
Raw Normal View History

<?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');
}
public function setTableDefinition() {
$this->hasColumn('message', 'string',200);
$this->hasColumn('code', 'integer',11);
$this->hasColumn('file_md5', 'string',32, 'primary');
}
}