1
0
mirror of synced 2025-01-05 16:53:21 +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));
}
}