2007-09-02 18:24:49 +04:00
|
|
|
<?php
|
|
|
|
class Package extends Doctrine_Record {
|
|
|
|
public function setTableDefinition() {
|
|
|
|
$this->hasColumn('description', 'string', 255);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setUp()
|
|
|
|
{
|
2008-01-23 11:04:54 +03:00
|
|
|
$this->hasMany('PackageVersion as Version', 'PackageVersion.package_id');
|
2007-09-02 18:24:49 +04:00
|
|
|
}
|
|
|
|
}
|