2008-02-09 02:20:35 +03:00
|
|
|
<?php
|
|
|
|
class CmsUser extends Doctrine_Record
|
|
|
|
{
|
|
|
|
public static function initMetadata($class)
|
|
|
|
{
|
|
|
|
$class->setColumn('id', 'integer', 4, array('primary' => true, 'autoincrement' => true));
|
|
|
|
$class->setColumn('username', 'string', 255);
|
2008-02-15 03:57:34 +03:00
|
|
|
$class->setColumn('name', 'string', 255);
|
2008-02-09 02:20:35 +03:00
|
|
|
}
|
2008-02-15 03:57:34 +03:00
|
|
|
}
|