1
0
mirror of synced 2025-03-27 10:23:50 +03:00

10 lines
275 B
PHP

<?php
class NestReference extends Doctrine_Entity
{
public static function initMetadata($class)
{
$class->setColumn('parent_id', 'integer', 4, array('primary' => true));
$class->setColumn('child_id', 'integer', 4, array('primary' => true));
}
}