1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests_old/models/EntityReference.php

11 lines
281 B
PHP
Raw Normal View History

<?php
class EntityReference extends Doctrine_Record
{
public static function initMetadata($class)
{
2008-02-16 22:37:51 +03:00
$class->setColumn('entity1', 'integer', null, array('primary' => true));
$class->setColumn('entity2', 'integer', null, array('primary' => true));
}
}