1
0
mirror of synced 2025-01-08 10:07:10 +03:00
doctrine2/tests/models/cms/CmsUser.php
2008-02-16 19:10:16 +00:00

11 lines
299 B
PHP

<?php
class CmsUser extends Doctrine_Record
{
public static function initMetadata($class)
{
$class->mapColumn('id', 'integer', 4, array('primary' => true, 'autoincrement' => true));
$class->mapColumn('username', 'string', 255);
$class->mapColumn('name', 'string', 255);
}
}