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

11 lines
322 B
PHP

<?php
class FooReferenceRecord extends Doctrine_Entity
{
public static function initMetadata($class)
{
$class->setTableName('foo_reference');
$class->setColumn('foo1', 'integer', null, array('primary' => true));
$class->setColumn('foo2', 'integer', null, array('primary' => true));
}
}