1
0
mirror of synced 2024-12-15 07:36:03 +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');
}
}