1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/models/FooReferenceRecord.php

12 lines
321 B
PHP
Raw Normal View History

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