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

12 lines
276 B
PHP
Raw Normal View History

<?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');
}
}