1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/models/cms/CmsPhonenumber.php

10 lines
239 B
PHP

<?php
class CmsPhonenumber extends Doctrine_Record
{
public static function initMetadata($class)
{
$class->mapColumn('user_id', 'integer', 4);
$class->mapColumn('phonenumber', 'string', 50, array('primary' => true));
}
}