1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/Package.php

12 lines
277 B
PHP
Raw Normal View History

<?php
class Package extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('description', 'string', 255);
}
public function setUp()
{
$this->ownsMany('PackageVersion as Version', 'PackageVersion.package_id');
}
}