1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/FooReferenceRecord.php

12 lines
321 B
PHP

<?php
class FooReferenceRecord extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('foo_reference');
$this->hasColumn('foo1', 'integer', null, array('primary' => true));
$this->hasColumn('foo2', 'integer', null, array('primary' => true));
}
}